gpt4 book ai didi

ubuntu - gcc-7 : g++-7: No such file or directory

转载 作者:行者123 更新时间:2023-12-04 18:44:51 25 4
gpt4 key购买 nike

我正在运行 setup.py 来编译暗流。
当我运行命令 yum install gcc-python3-plugin
,我总是遇到以下错误,我安装了 gcc & g++-7

错误

running build_ext building 'darkflow.cython_utils.nms' extension gcc-7 CXX=g++-7 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g
-fdebug-prefix-map=/build/python3.6-EKG1lX/python3.6-3.6.5=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/python3.6m -c darkflow/cython_utils/nms.c -o build/temp.linux-x86_64-3.6/darkflow/cython_utils/nms.o gcc-7: error: CXX=g++-7: No such file or directory error: command 'gcc-7' failed with exit status 1

当我运行我的 python
ubuntu@host1 # python3
Python 3.6.5 (default, Apr 1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

有谁知道是什么导致了错误?
谢谢你。

最佳答案

迟到的答案,但也许这可以帮助某人
gcc-7g++-7是不同的东西。 GCC 是编译器的集合 (GNU Compiler Collection),而 g++是 c++ 的编译器,它包含在 gcc 中.
你说你安装了gccg++-7 ,但错误提示找不到 gcc-7所以尝试安装gcc-7 .

关于ubuntu - gcc-7 : g++-7: No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52512986/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com