无法在Windows 7 Ultimate 32位上安装setuptools

时间:2012-04-14 01:22:23

标签: python windows-7 setuptools

我正在尝试在Windows 7 Premium 32位上安装setuptools。我从http://pypi.python.org/pypi/setuptools#files下载了安装程序setuptools-0.6c11.win32-py2.7.exe,当我尝试安装它时,我收到以下错误:Python 2.7 is required, which was not found in the registry。好吧,我知道现在安装了Python 2.7.2。我在网上看过,我唯一看到的是在Windows 7 64位上安装的麻烦。有没有其他人参与此问题或知道如何解决?

修改

添加可见性。

我搜索了注册表,但我没有在任何地方找到安装路径。我将它添加回HKEY_LOCAL_MACHINE \ SOFTWARE \ Python \ PythonCore \ 2.7 \并且它没有修复安装错误。

修改2

我找到了解决方案。我下载并运行:http://peak.telecommunity.com/dist/ez_setup.py

2 个答案:

答案 0 :(得分:1)

我找到了安装它的方法。我下载了http://peak.telecommunity.com/dist/ez_setup.py并运行了它。安装没有问题。

答案 1 :(得分:0)

检查您的PATH environmental variable是否已设置为安装python的位置。

Check this link for more info