楼主用Python2安装一个Polygon2数据包时,
从Pypi下载了此包的源码进行编译,遇到了一个这样的错误
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
最后运行如下命令解决:
sudo apt-get install python-dev
楼主用Python2安装一个Polygon2数据包时,
从Pypi下载了此包的源码进行编译,遇到了一个这样的错误
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
最后运行如下命令解决:
sudo apt-get install python-dev