setuptools on python3.0

寵の児 提交于 2019-12-07 06:13:44

问题


I was trying to install "setuptool" package for python3.0. But unfortunately while I try to install it says module names "dist" is missing. pls help me to resolve this issue.


EDIT AS OF MARCH 2013:

please look below the accepted answer for a more upto date response by @LennartRegebro


回答1:


Setuptools 0.7 and later supports Python 3.

Setuptools was in practice unmaintained for a long time, and this prompted several people to join together and make a fork, called "Distribute", which was ported to Python 3 since 2009.

However in 2013 the projects merged, and Setuptools and Distribute are now the same thing. Installing Distribute will install an empty package that does nothing but install Setuptools.




回答2:


You can find them on the following two links: one for setuptools and another one for pip, enjoy!

http://pypi.python.org/pypi/pip

http://pypi.python.org/pypi/setuptools




回答3:


== This answer is outdated ==

It seems that setuptools is currently in the process of being ported to Python 3. Looks like there are some difficulties. This is explained in more detail by Lennart Regebro here:

http://regebro.wordpress.com/2009/04/21/setuptools-on-python-3-work-on-hold/

http://www.mail-archive.com/distutils-sig@python.org/msg07183.html

http://regebro.wordpress.com/2009/02/01/setuptools-and-easy_install-for-python-3



来源:https://stackoverflow.com/questions/816623/setuptools-on-python3-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!