Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i manages to isntall easy_install and downlaode dna dinstall pymysql but whne it comes to pygeopip i get this:
Code:
root@secure [~/distribute-0.6.35]# easy_install pygeoip
Searching for pygeoip
Reading http://pypi.python.org/simple/pygeoip/
Reading http://code.google.com/p/pygeoip/
Reading https://github.com/appliedsec/pygeoip
Best match: pygeoip 0.3.0
Downloading https://pypi.python.org/packages/source/p/pygeoip/pygeoip-0.3.0.tar.gz#md5=67eaa75053d06f46722eac23dc4e4bb5
Processing pygeoip-0.3.0.tar.gz
Writing /tmp/easy_install-g_gq17nb/pygeoip-0.3.0/setup.cfg
Running pygeoip-0.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-g_gq17nb/pygeoip-0.3.0/egg-dist-tmp-gniwz8ct
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 9, in <module>
load_entry_point('distribute==0.6.35', 'console_scripts', 'easy_install')()
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/command/easy_install.py", line 1937, in main
with_ei_usage(lambda:
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/command/easy_install.py", line 1918, in with_ei_usage
return f()
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/command/easy_install.py", line 1941, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/local/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/lib/python3.4/distutils/dist.py", line 929, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.4/distutils/dist.py", line 948, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/command/easy_install.py", line 358, in run
self.easy_install(spec, not self.no_deps)
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/command/easy_install.py", line 598, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/command/easy_install.py", line 628, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/command/easy_install.py", line 823, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/command/easy_install.py", line 1103, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/command/easy_install.py", line 1089, in run_setup
run_setup(setup_script, args)
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/sandbox.py", line 34, in run_setup
lambda: exec(compile(open(
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/sandbox.py", line 82, in run
return func()
File "/usr/local/lib/python3.4/site-packages/distribute-0.6.35-py3.4.egg/setuptools/sandbox.py", line 36, in <lambda>
).read(), "setup.py", 'exec'),
File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1098: ordinal not in range(128)
CentOS is PYTHON SPECIFIC
gnome and yum DEPEND on the default version installed
if that is replaced then yum and some of gnome will not work
Now a different version of python can be installed "Side-by-Side"
( normally best done BY HAND with a manual install and TAKING YOUR TIME so you do not make a mistake )
then create a shell script to export the location of the different version of python for the program that needs it and launch that program
--i do that for the OLD blender 2.49b it needs a OLDER version of python
(export PYTHONHOME=/location/of/the/different/python)
Quote:
yum remove python33-devel and it did something and then yum install python 33-devel
but that didn't seem to have re-installed python 3.3.2
dose yum give you an error ?
if not what is the output of
Hello, here is the output that it says installed but i have certainly have to have it re-installed somehow:
Code:
root@secure [~]# yum info python33
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink | 24 kB 00:00
* base: ftp.plusline.de
* epel: mirror.fraunhofer.de
* extras: mirror.softaculous.com
* remi: mirror5.layerjet.com
* updates: mirror2.hs-esslingen.de
IUS | 2.1 kB 00:00
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
remi | 2.9 kB 00:00
updates | 3.4 kB 00:00
Installed Packages
Name : python33
Arch : i686
Version : 3.3.2
Release : 1.ius.centos6
Size : 31 k
Repo : installed
From repo : IUS
Summary : Version 3 of the Python programming language aka Python 3000
URL : http://www.python.org/
License : Python
Description : Python 3 is a new version of the language that is incompatible with the 2.x
: line of releases. The language is mostly the same, but many details, especially
: how built-in objects like dictionaries and strings work, have changed
: considerably, and a lot of deprecated features have finally been removed.
root@secure [~]#
A) Python 3 :
1) $ su
2) # gedit /etc/yum.repos.d/ius.repo
... Then enter the repo text for i386, and save the file :
[IUS]
name=ius
baseurl=http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/i386
enabled=1
gpgcheck=0
4) # yum list python3*
... To know the available packages. (In case you didn't visit the link.)
5) # yum install python33-devel
6) $ which python3
... The reply is : /usr/bin/python3
I cannot install pip
after step 7 when i extract the pip-1.4.1.tar.gz file a pip-1.4.1 flder is beign created when i cd into it and try:
[code]
root@secure [~]# cd pip-1.4.1
root@secure [~/pip-1.4.1]# ll
total 80
drwxr-xr-x 5 dauwin games 4096 Nov 15 20:52 ./
dr-xr-x--- 18 root root 4096 Nov 16 10:22 ../
-rw-r--r-- 1 dauwin games 1559 Aug 8 03:38 AUTHORS.txt
-rw-r--r-- 1 dauwin games 26391 Aug 8 03:54 CHANGES.txt
-rw-r--r-- 1 dauwin games 1907 Aug 8 03:38 LICENSE.txt
-rw-r--r-- 1 dauwin games 225 Aug 8 03:38 MANIFEST.in
-rw-r--r-- 1 dauwin games 2763 Aug 8 04:11 PKG-INFO
-rw-r--r-- 1 dauwin games 384 Aug 8 03:38 PROJECT.txt
-rw-r--r-- 1 dauwin games 264 Aug 8 03:38 README.rst
drwxr-xr-x 2 dauwin games 4096 Aug 8 04:11 docs/
drwxr-xr-x 6 dauwin games 4096 Aug 8 04:11 pip/
drwxr-xr-x 2 dauwin games 4096 Aug 8 04:11 pip.egg-info/
-rw-r--r-- 1 dauwin games 86 Aug 8 04:11 setup.cfg
-rw-r--r-- 1 dauwin games 2298 Aug 8 03:38 setup.py
root@secure [~/pip-1.4.1]# python3 setup.py
Traceback (most recent call last):
File "setup.py", line 5, in <module>
from setuptools import setup, find_packages
ImportError: No module named 'setuptools'
root@secure [~/pip-1.4.1]#
/code]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.