[英]error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 while doing pip3 install python-geohash
I tried all combinations and nothing made import geohash work: 我尝试了所有组合,没有任何导入geohash工作:
the 4th one isn't even installing but threw an error on me saying: src/geohash.cpp:538:20: fatal error: Python.h: No such file or directory #include ^ compilation terminated. 第四个甚至没有安装,但在我说错误:src / geohash.cpp:538:20:致命错误:Python.h:没有这样的文件或目录#include ^编译终止。 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
错误:命令'x86_64-linux-gnu-gcc'以退出状态1失败
Thanks @William D. Irons. 谢谢@William D. Irons。 The issue got fixed when I did sudo apt-get install libpython3.7-dev
当我做了sudo apt-get install libpython3.7-dev时,问题得到解决
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.