WinXP中的Python setuptools使用uninformati退出安装

2024-10-01 09:26:28 发布

您现在位置:Python中文网/ 问答频道 /正文

请按照官方页面上的说明操作此py软件包,如下所示:

https://pypi.python.org/pypi/setuptools#windows-7-or-graphical-install

“对于Windows 7及更早版本,请使用您喜爱的web浏览器或其他技术下载ezèu setup.py并“运行”该文件。”

当我尝试运行时,它在流程中不久就退出了,下面是最有用的信息(AHEM!)错误:

Extracting in c:\docume~1\owl\locals~1\temp\tmpu31ctv
Now working in c:\docume~1\owl\locals~1\temp\tmpu31ctv\setuptools-5.4.2
Installing Setuptools
Something went wrong during the installation.
See the error message above.


有什么线索表明可能出了什么问题吗


Tags: theinpyhttpsorgpypi官方windows
2条回答

将setuptools解包到目录后,通过cmd行导航到该目录并执行:

python setup.py -v install

如果还有错误,请粘贴。或者,做我在对你的问题的评论中已经提到的,以及anders发布的答案

在windows上手动安装python库总是让我头疼。我建议在本网站上使用优秀的安装程序:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

以下是设置工具:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools

相关问题 更多 >