pip intall pywin32出现 error: subprocess-exited-with-error 错误的解决办法
创始人
2025-01-11 15:06:46
0

问题描述:

安装pywin32时候报错:

pip install pypiwin32 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

(venv) LIST_2080Ti@ubuntu-SYS-7049GP-TRT:~$ pip install pypiwin32 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com Looking in indexes: http://pypi.douban.com/simple/ Collecting pypiwin32   Downloading http://pypi.doubanio.com/packages/d0/1b/2f292bbd742e369a100c91faa0483172cd91a1a422a6692055ac920946c5/pypiwin32-223-py3-none-any.whl (1.7 kB)   Downloading http://pypi.doubanio.com/packages/2b/ca/5c086c18de8f70222787b3e824e755b68d99272531522e77bb381d4f60c8/pypiwin32-219.zip (4.8 MB)      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 4.3 MB/s eta 0:00:00   Preparing metadata (setup.py) ... error   error: subprocess-exited-with-error      × python setup.py egg_info did not run successfully.   │ exit code: 1   ╰─> [7 lines of output]       Traceback (most recent call last):         File "", line 2, in          File "", line 34, in          File "/tmp/pip-install-vkb76949/pypiwin32_6b404ccc21a4415b9d41d119c3fba9c7/setup.py", line 121           print "Building pywin32", pywin32_version                 ^       SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Building pywin32", pywin32_version)?       [end of output]      note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed  × Encountered error while generating package metadata. ╰─> See above for output.  note: This is an issue with the package mentioned above, not pip. hint: See above for details.

有朋友说更新一下setuptools就可以了。

pip install --upgrade setuptools
https://blog.csdn.net/Jackfled/article/details/127046255

方法来自:pip intall 出现 error: subprocess-exited-with-error 错误的解决办法_Jackfled的博客-CSDN博客_subprocess-exit

可惜我测试了,没用。

报错: error: subprocess-exited-with-error_匿名用户2022的博客-CSDN博客 

还有另外一篇文章写了更多的尝试方法,仍旧没有解决。你可以看看哪些方法是否对你有用。

相关内容

热门资讯

攻略辅助挂《Wepoke神器》... 您好,这款游戏可以开挂的,确实是有挂的,需要了解加微【757446909】很多玩家在这款游戏中打牌都...
一分钟秒懂!微扑克ai机器人,... 一分钟秒懂!微扑克ai机器人,wepoke其实是有挂猫腻,必胜教程(有挂猫腻);一、微扑克有挂的是的...
玩家实测(Wepoke透视)软... 玩家实测(Wepoke透视)软件透明挂(wepoke)透明挂辅助挂真的假的(2022已更新)(哔哩哔...
2020新版辅助!微扑克wpk... 2020新版辅助!微扑克wpk安全的,超级扑克其实真的是有挂,插件教程(有挂秘诀),超级扑克是用手机...
推荐十款(Wepoke规律)软... 推荐十款(Wepoke规律)软件透明挂(wepoke)透明挂辅助挂存在外挂(2023已更新)(哔哩哔...
技术分享(Wepoke机器人)... 技术分享(Wepoke机器人)软件透明挂(wepoke)透明挂辅助器苹果版(2021已更新)(哔哩哔...
如何分辨真伪《Wepoke实测... 如何分辨真伪《Wepoke实测》软件透明挂!(辅助挂)外挂透明挂程序(2023已更新)(哔哩哔哩)如...
玩家必看教程!wpk德州辅助器... 玩家必看教程!wpk德州辅助器是真是假,竞技联盟德州原来是有挂猫腻,细节揭秘(有挂工具)是一款可以让...
第3方攻略(WPK软件)辅助透... 第3方攻略(WPK软件)辅助透视(wpk)透视辅助器(2020已更新)(哔哩哔哩)是一款可以让一直输...
推荐攻略(Wepoke安卓版)... 推荐攻略(Wepoke安卓版)软件透明挂(wepoke)透明挂辅助器苹果版(2021已更新)(哔哩哔...