发布时间:2019-08-23 07:58:37编辑:auto阅读(2033)
最近用pip安装工具包老是出现错误
错误如下:
error: Setup script exited with error: command 'gcc' failed with exit status 1
解决方法是安装python-dev,这是Python的头文件和静态库包:
ubuntu 下安装
sudo apt-get install python-dev
Centos 下安装
yum install python-devel
上一篇: python关于it审计中的应用
下一篇: python3 文件的读取和通用操作
51352
50815
41413
38211
32704
29598
28421
23324
23267
21596
1685°
2410°
2014°
1952°
2289°
1980°
2687°
4498°
4328°
3081°