On 26/06/2017 10:03, Rick wrote:
Hi
Can anyone help?
I’m pretty new to Python and Raspberry Pi.
When running PIP, I seem to get fatal error:
Python.h: No such file or directory
<hash>include “Python.h”
compilation terminated
I get this when attempting to download both _Cython_ and _scikit-image_.
So I’m assuming it is some absent file or path reference on the
Raspberry Pi installation I have, rather than in the distribution package?
What is this file “Python.h” that it is trying to include?
Others have answered the immediate question. But, in general, you'll
probably want to install tools like Cython and scikit from the Raspberry
Pi repositories directly (where they come prebuilt).
I don't have an RPi here, but try something like "sudo apt install
cython scikit"
TJG
_______________________________________________
Distutils-SIG maillist - Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig