python 安装库报错:
error: command 'gcc' failed with exit status 1
解决办法:
sudo apt-get install python-dev
本文介绍了一种常见的Python安装第三方库时遇到的错误:“error: command 'gcc' failed with exit status 1”。此错误通常表明系统缺少必要的开发工具。文章提供了一个简单的解决方案:通过sudo apt-get install python-dev命令来安装所需的Python开发环境。
python 安装库报错:
error: command 'gcc' failed with exit status 1
解决办法:
sudo apt-get install python-dev
2745
458

被折叠的 条评论
为什么被折叠?