发布时间:2019-08-23 07:58:37编辑:auto阅读(2024)
最近用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 文件的读取和通用操作
51275
50719
41321
38135
32596
29503
28354
23222
23189
21512
1587°
2306°
1918°
1860°
2185°
1901°
2591°
4333°
4189°
2984°