1. 程式人生 > >python 安裝 easy_install 的三種方式

python 安裝 easy_install 的三種方式

1 安裝setuptools 

wget http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg#md5=fe1f997bc722265116870bc7919059ea  --no-check-certificate
sh setuptools-0.6c11-py2.7.egg 


測試 easy_install 出現 


error: No urls, filenames, or requirements specified (see --help)


表示成功





yum install python-setuptools




3 官方的安裝方式
wget https://bootstrap.pypa.io/ez_setup.py -O -  --no-check-certificate| python


然後做軟連線
ln -s  /usr/local/python2.7/bin/easy_install /usr/bin/easy_install