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博客 

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

相关内容

热门资讯

透视系统!uupoker透视,... 透视系统!uupoker透视,xpoker透视辅助,一贯是有挂(大神讲解);一、xpoker透视辅助...
透视线上!aapoker如何设... 透视线上!aapoker如何设置胜率,wepoker有透视吗(透视)好像有挂(科技教程)1、下载好a...
透视教程!hhpoker辅助软... 透视教程!hhpoker辅助软件是真的么,hhpoker真的有透视吗,透明挂教程(有挂解说);1、h...
透视苹果版!impoker辅助... 透视苹果版!impoker辅助,红龙poker有辅助吗,果然是真的有挂(2025新版总结)1)红龙p...
透视真的!德州局hhpoker... 透视真的!德州局hhpoker,约局吧游戏挂(透视)原先真的有挂(力荐教程);1、这是跨平台的约局吧...
透视好牌!hhpoker免费透... 透视好牌!hhpoker免费透视脚本,德州透视hhpoker,技巧教程(有挂黑科技);1、完成hhp...
透视科技!xpoker辅助工具... 透视科技!xpoker辅助工具,哈糖大菠萝挂法,竟然真的有挂(黑科技教程);1、哈糖大菠萝挂法ai辅...
透视能赢!wpk辅助购买,we... 透视能赢!wpk辅助购买,wepoker是不是有人用挂(透视)素来真的是有挂(必备教程)1、玩家可以...
透视中牌率!hhpoker作弊... 透视中牌率!hhpoker作弊码,hhpoker脚本下载,扑克教程(有挂方法)1、操作简单,无需注册...
透视了解!aa poker辅助... 透视了解!aa poker辅助包,竞技联盟破解版最新版,果然是有挂(第三方教程);1、下载好竞技联盟...