就這樣子囉
# 安裝 python2.7 wget http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tar.xz xz -d Python-2.7.8.tar.xz tar -xvf Python-2.7.8.tar cd Python-2.7.8 ./configure make make altinstall # 安装 setuptools wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz tar -xvf setuptools-1.4.2.tar.gz cd setuptools-1.4.2 python2.7 setup.py install # 安裝 pip curl https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py | python2.7 - # pip 就可以安裝 module pip2.7 install XXX
留言