Reputation: 223
I tried all combinations and nothing made import geohash work:
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. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Upvotes: 1
Views: 2825
Reputation: 223
Thanks @William D. Irons. The issue got fixed when I did sudo apt-get install libpython3.7-dev
Upvotes: 1