在 Ubuntu 20.04 上运行诗歌安装时遇到 gcc 5 失败

use*_*008 2 gcc python3 20.04

多重错误:command 'gcc-5' failed: No such file or directory..

gcc版本:9.3
诗歌版本:1.1.4
python:3.9.1
Ubuntu 20.04

小智 7

我发现的解决办法就是这样做

ln -s /bin/gcc /bin/gcc-5
Run Code Online (Sandbox Code Playgroud)
    
$ ln -s /bin/gcc /bin/gcc-5
$ pip3 install netifaces
Collecting netifaces
  Using cached netifaces-0.10.9.tar.gz (28 kB)
Using legacy 'setup.py install' for netifaces, since package 'wheel' is not installed.
Installing collected packages: netifaces
    Running setup.py install for netifaces ... done
Successfully installed netifaces-0.10.9
Run Code Online (Sandbox Code Playgroud)

我希望这可以帮助你。