AI软件下载
有趣网站推荐及实用软件下载

error: command 'g++' failed: No such file or directory

Linux服务器上安装python应用报错:

Building wheels for collected packages: pyworld
Building wheel for pyworld (pyproject.toml) … error
error: subprocess-exited-with-error

× Building wheel for pyworld (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312/pyworld
copying pyworld/init.py -> build/lib.linux-x86_64-cpython-312/pyworld
running build_ext
Compiling pyworld/pyworld.pyx because it changed.
[1/1] Cythonizing pyworld/pyworld.pyx
building ‘pyworld.pyworld’ extension
creating build/temp.linux-x86_64-cpython-312/lib/World/src
creating build/temp.linux-x86_64-cpython-312/pyworld
g++ -pthread -B /usr/local/miniconda3/envs/py312/compiler_compat -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /usr/local/miniconda3/envs/py312/include -fPIC -O2 -isystem /usr/local/miniconda3/envs/py312/include -fPIC -Ilib/World/src -I/tmp/pip-build-env-s8igwjsa/overlay/lib/python3.12/site-packages/numpy/_core/include -I/usr/local/miniconda3/envs/py312/include/python3.12 -c lib/World/src/cheaptrick.cpp -o build/temp.linux-x86_64-cpython-312/lib/World/src/cheaptrick.o
error: command ‘g++’ failed: No such file or directory

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyworld
Failed to build pyworld
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyworld)

报错提示缺少编译工具链(g++),安装就行了。

apt-get update
apt-get install -y build-essential g++ gcc make


AI软件用不了?2元爽玩4090: 立即体验>>

热门大语言模型API免费体验: 立即获取>>

软件催更及1对1人工答疑支持: https://nuowa.net/1806
赞(0) 打赏
软件无法使用?点击查看常见问题说明>>

最近更新

祝贺凡人修仙传2026年新年番开播同时在线人数超64万-诺瓦小站

祝贺凡人修仙传2026年新年番开播同时在线人数超64万

今天6月13日凡人修仙传新年番开播,同时在线人数破64万(非最高在线人数,只是我看到的在线人数),作为凡人5年老粉,必须发个帖祝贺一下。 我比较喜欢看动漫,各种类型看了很多,具体不清楚多少,像斗罗斗破之类看了一大半终究是没能看下去,还是雾山...

Claude居然自称“本人”-诺瓦小站

Claude居然自称“本人”

今天在和Claude聊网文写作的时候,Claude回复中居然自称本人,这让我有点震惊。 我经常会和AI聊工具功能对比等话题,ChatGPT、Gemini、Claude这些以前我记得从来没有自称过本人的,好像都是本模型,本工具等等,反正从来没...

免费在线HTML转markdown工具

经常看一些在线文档,想复制给AI参考的话不方便直接复制,转换成markdown再给AI阅读会更简单明了,也方便自己查阅,这里给大家推荐两个在线的免费HTML转markdown网站。 1、https://d1tools.com/tools/c...

觉得文章对你有帮助就打赏一下作者

非常感谢你的打赏,我将有更多的动力继续提供优质内容,让我们一起创建更加美好的世界!

支付宝扫一扫

微信扫一扫