小编Naj*_*ary的帖子

在ubuntu gcc错误中安装pip geoip

我试图在python pip中在ubuntu中安装geoip ...但是有同样的gcc错误

pip install GeoIP

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes - fPIC -I/usr/include/python2.7 -c py_GeoIP.c -o build/temp.linux-i686-2.7/py_GeoIP.o -fno- strict-aliasing

py_GeoIP.c:23:19: fatal error: GeoIP.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1
Run Code Online (Sandbox Code Playgroud)

如何在ubuntu中解决这个问题

python gcc pip ubuntu-12.04

15
推荐指数
1
解决办法
1万
查看次数

标签 统计

gcc ×1

pip ×1

python ×1

ubuntu-12.04 ×1