# Python 2.7.6:
$ wget https://www.python.org/ftp/python/2.7/Python-2.7.tgz$ tar zxf Python-2.7.tgz$ cd Python-2.7.6$ ./configure --prefix=/usr/local --enable-unicode=ucs4 --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"# make && make altinstall
# First get the setup script for Setuptools:
$ wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
# Then install it for Python 2.7
# python2.7 ez_setup.py
# Now install pip using the newly installed setuptools:
# easy_install-2.7 pip
References :
沒有留言:
張貼留言