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

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

相关内容

热门资讯

每日必看!德州之星扫描器,决战... 每日必看!德州之星扫描器,决战卡五星辅助修改器,本来是有辅助辅助(真的有挂)决战卡五星辅助修改器透视...
实测揭晓!约局吧德州真的存在透... 实测揭晓!约局吧德州真的存在透视吗,透视牌辅助工具脚本市场,本来真的有辅助插件(有挂助手)1)约局吧...
关于!wepoker透视app... 关于!wepoker透视app下载,填的那款辅助视频,总是真的有辅助神器(有挂解密)填的那款辅助视频...
技巧知识分享!pokerwor... 技巧知识分享!pokerworld修改器,微友助手app下载辅助器,切实是真的有辅助脚本(有挂规律)...
重大科普!werplan外卦神... 重大科普!werplan外卦神器,火神微信辅助,一贯有辅助安装(有挂教学)1)werplan外卦神器...
实测交流!hhpoker怎么开... 实测交流!hhpoker怎么开透视,张同学俱乐部有挂吗,一直是有辅助透视(有挂辅助)1、在张同学俱乐...
我来教大家!德州辅助工具到底怎... 我来教大家!德州辅助工具到底怎么样,互游拼三张脚本,一贯是有辅助安装(有挂秘籍)1)德州辅助工具到底...
最新技巧!wepoker辅助工... 最新技巧!wepoker辅助工具,好友赣南辅助是真的吗,一直真的有辅助透视(有挂存在)亲,关键说明,...
一分钟教会你!wepoker有... 一分钟教会你!wepoker有辅助工具吗,广西微乐小程序控制器,切实是有辅助开挂(详细教程)1、上手...
最新通报!拱趴大菠萝开挂方法,... 最新通报!拱趴大菠萝开挂方法,小闲辅助器,果然存在有辅助教程(真实有挂)进入游戏-大厅左侧-新手福利...