Python3使用setuptools

旧版的setuptools已经不能用于Python3上了,国外有大神fork出了另一分支distribute,它可以支持Python3:

#下载
wget http://pypi.python.org/packages/source/d/distribute/distribute-0.6.24.tar.gz

#解压缩 && 安装
tar -xzvf ./distribute-0.6.24.tar.gz 
cd distribute-0.6.24/
python3 ./setup.py install

搞定。。

 

Leave a Reply

Your email address will not be published. Required fields are marked *