ydf0509/funboost

win11 python3.10.0版本安装gevent报错,要求c++环境

wangzehua0420 opened this issue · 2 comments

安装报错,我截几个关键的位置,不知道如何解决
Building wheels for collected packages: gevent
Building wheel for gevent (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for gevent (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [289 lines of output]
.................
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for gevent
Failed to build gevent
ERROR: Could not build wheels for gevent, which is required to install pyproject.toml-based projects

后面我把整个visual studio 2019装了就能正常安装了,就为了安装一个包😂

https://www.lfd.uci.edu/~gohlke/pythonlibs/#gevent
image

这是你自己问题,经验不足。你不想安装完整c++环境,就可以在这个网站下载各种三方包。什么包安装包c++环境缺失错误你就单独下载什么包就好了,你自己从这个额网站下载三方包安装,然后再安装funboost不就行了。这不是funboost框架的独有问题,很多三方包都有包依赖c++,以后你收藏这个网站就行了。

你不想这么麻烦,就不能使用win,用mac和linux不会要求安装c++