You should be able to use "easy_install" if "which easy_install" points to the correct 2.7 versions I'm jumping between two different machine installs here, sorry about that, pay attention to /usr/local/bin vs /usr/bin [email protected]$ which pip /usr/local/bin/pip $ which easy_install /usr/local/bin/easy_install $ ls -ltr /usr/local/bin/easy_install* -rwxr-xr-x 1 root root 340 Jan 30 2013 /usr/local/bin/easy_install-2.7 -rwxr-xr-x 1 root root 332 Jan 30 2013 /usr/local/bin/easy_install sudo /usr/local/bin/easy_install-2.7 requests sudo /usr/local/bin/easy_install-2.7 psutil sudo /usr/local/bin/easy_install-2.7 paramiko (for normal user, easy_install should work too, if your PATH gets /usr/local/bin first) I had to rename pip and easy_install in /user/local/bin and create links. Check first though if pip and easy_install act right after install.
, ensures that all parts of the system are working in harmony, so you maybe want to install python in a separated path, hidden of all the other programs that you can call at will, which is the purpose of ➜ ~ apt-cache policy python3 python python3: Installed: 3.3.2-17 Candidate: 3.3.2-17 Version table: *** 3.3.2-17 0 500 testing/main i386 Packages 100 /var/lib/dpkg/status python: Installed: 2.7.5-5 Candidate: 2.7.5-5 Version table: *** 2.7.5-5 0 500 testing/main i386 Packages 100 /var/lib/dpkg/status Unfortunately for Python 2.6, compiling from source doesn't work properly on Debian 8 (Jessie) but I found, at least for a Raspberry Pi, that I was able to use older packages from
Sexy wifes and singles free sex chat no credit card or upgrades required - Updating python
Beware that relying on an unofficial package, and/or a PPA, especially for something as fundamental as Python in Ubuntu, bypasses important security processes & can lead to many problems.
Some packages explicitly depend on the official packages or versions.
Instead, you may well want to use a virtualenv with a more recent version of python for just the apps you need it for.
While separate files, they both seem to install into /usr/local/lib/python2.7/site-packages/ Instructions for python 2.7 install on windows 7, ubuntu, mac will be on another page. They worked on apu.0(192.168.1.160) on 9/28/2012 (also okay for centos 6.4) stolen from Daniel Eriksson. (modified a little) Cent OS 6.2 ships with Python 2.6.6 and depends on that specific version.
"easy_install" and "easy_install-2.7" will easy install for python 2.7. you don't need 32-bit and 64-bit, but just follow these instructions.
Because of centos 6.3 on the cluster machines, we need both 2.6 and 2.7 to coexist there. if you install python 2.7 in any way other than the following you will destroy the system and make yum inoperable zlib failure message may be from internal python scripts doing uncompression and they may be referring to python module files, rather than looking at links directly. Be careful not to replace it or bad things will happen.If you need access to a newer version of Python you must compile it yourself and install it side-by-side with the system version. In order to compile Python you must first install the development tools: It is important to use altinstall instead of install, otherwise you will end up with two different versions of Python in the filesystem both named python.Here are the steps necessary to install Python 2.7.6. (Depending on your version of wget, you may need to add the --no-check-certificate option to the wget command line.) After running the commands above your newly installed Python 2.7.6 interpreter will be available as /usr/local/bin/python2.7 and the system version of Python 2.6.6 will be available as /usr/bin/python and /usr/bin/python2.6.Check with: python -rwxr-xr-x 1 root root 1418 Jul 10 2013 /usr/bin/python2.6-config -rwxr-xr-x 2 root root 4864 Jul 10 2013 /usr/bin/python2.6 -rwxr-xr-x 2 root root 4864 Jul 10 2013 /usr/bin/python lrwxrwxrwx 1 root root 16 Oct 24 /usr/bin/python-config - python2.6-config [email protected]:/opt/Python-2.7.6 ] ls -ltr /usr/local/bin/python* -rwxr-xr-x 1 root root 6214533 Mar 19 /usr/local/bin/python2.7 -rwxr-xr-x 1 root root 1674 Mar 19 /usr/local/bin/python2.7-config sudo sh [email protected]:~ ] which python /usr/bin/python [email protected]:/home/0xdiag ] python Python 2.6.6 (r2292, Jul 10 2013, ) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2 [email protected]:~ ] exit sudo - user [email protected]:~ ] which python /usr/local/bin/python [email protected]:~ ] python Python 2.7.6 (default, Mar 19 2014, ) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information.The commands above will generate the script /usr/local/bin/easy_install-2.7.Use this script to install packages for your new Python version.