EnesYildirim / netcdf4-python

Automatically exported from code.google.com/p/netcdf4-python
Other
0 stars 0 forks source link

python3 setup.py install - fatal error `Python.h no such file or directory` #128

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. python3 setup.py install
2. works fine during `python setup.py install` (2.7.3)
3. error occurs with `python3 setup.py install` (3.2.3)

What is the expected output? What do you see instead?
One of the errors is from stdout the other from stderr. I am attaching a 
logfile to keep error report clean.

What version of the product are you using? On what operating system?
Ubuntu 12.04 32bit 
hdf5-1.8.9
netcdf-4.2.0
netCDF4-1.0 (py)

Both hdf5 & netcdf's binaries were build from source.

Please provide any additional information below.

Again the python 2.7.3 install of the module worked fine. It may be something 
simple, but I am under the impression I need to do the install for 2.7 and 3.2 
separately hence running `setup.py` twice, thanks.   

Original issue reported on code.google.com by deweydec...@gmail.com on 21 Jun 2012 at 8:59

Attachments:

GoogleCodeExporter commented 8 years ago
You need to install a python3-dev package.

Original comment by whitaker.jeffrey@gmail.com on 21 Jun 2012 at 9:05

GoogleCodeExporter commented 8 years ago
that did the trick. I appreciate your response

Original comment by deweydec...@gmail.com on 21 Jun 2012 at 9:52

GoogleCodeExporter commented 8 years ago

Original comment by whitaker.jeffrey@gmail.com on 26 Feb 2014 at 2:04