confused
confused

Reputation: 1323

Install ephem on linux

Trying to install ephem on linux, python 3.4.3.

I'm trying pip install ephem and I keep getting the following error.

extensions/_libastro.c:3:20: fatal error: Python.h: No such file or directory

I tried install libastro with the software manager but I still get the same error. What do I have to do to install ephem. Pyephem gives the same error.

Upvotes: 2

Views: 1204

Answers (1)

ShellCode
ShellCode

Reputation: 1172

Try to run this command :

sudo apt-get install python3-dev

And pip install again

Upvotes: 4

Related Questions