[SciPy-User] Error on importing scikits.learn
Helge Reikeras
helge.reikeras at gmail.com
Mon Mar 1 06:55:01 EST 2010
On Mon, 01 Mar 2010 13:51:14 +0200, David Trethewey <dlrt2 at ast.cam.ac.uk>
wrote:
>
> compile options: '-I/usr/lib/python2.6/dist-packages/numpy/core/include
> -I/usr/include/python2.6 -c'
> gcc: scikits/learn/machine/em/src/pure_den.c
> scikits/learn/machine/em/src/pure_den.c:7:20: error: Python.h: No such
> file or directory
This is because you don't have the Python header files installed. You need
to install these somehow. E.g. if you are running Ubuntu you do "sudo
apt-get install python-dev".
--
Helge Reikeras
http://www.google.com/profiles/helge.reikeras
More information about the SciPy-User
mailing list