错误:命令“ gcc”失败,退出状态为1错误

时间:2019-12-08 15:48:35

标签: python gcc discord.py-rewrite

嘿,我目前正在尝试帮助主持人解决问题。我们遇到的问题是error: command 'gcc' failed with exit status 1,我们已经尝试安装gcc编译器apt-get install python3-dev,但是似乎已经安装了。

错误:

I/usr/include/python3.7m -c multidict/_multidict.c -o build/temp.linux-x86_64-3.7/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bu65o7vu/multidict/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-c0gfiuzu/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-bu65o7vu/multidict/
You are using pip version 19.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Seán's Discord Bot:~/$

最奇怪的部分是已安装gcc enter image description here

enter image description here

他们使用基于容器的系统(docker),并且需要找到一种按容器实施该系统的方法。

我们将不胜感激。

0 个答案:

没有答案