【发布时间】:2020-09-13 02:56:56
【问题描述】:
我刚刚设置了一个 Ubuntu。 我正在尝试改变暗网的 yolo。我遇到了这个错误。
/usr/local/cuda/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
我也试过了
sudo apt install gcc-4.9 g++-4.9
我明白了
Package g++-4.9 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gcc-4.9' has no installation candidate
E: Package 'g++-4.9' has no installation candidate
下载最新版本似乎出现版本错误。 你知道如何降级gcc版本吗?
【问题讨论】:
-
这能回答你的问题吗? CUDA incompatible with my gcc version