fhs / pyhdf

Python wrapper around the NCSA HDF version 4 library
https://pypi.org/project/pyhdf/
Other
46 stars 15 forks source link

Issues installing pyhdf from source #44

Open AlysonR opened 4 years ago

AlysonR commented 4 years ago

Please fix this issue. I can't install from pip and now I can't install from source. This has been an issue for over a year and it is seriously actually impeding my ability to read NASA satellite products on anything other than the 1 machine where I have successfully installed pyhdf years ago.

What version of pyhdf, HDF4, and Python are you using? Python 3

pyhdf version: current build at https://github.com/hdfeos/pyhdf.git

What operating system are you using? Google Colab/linux server

What did you do?

!apt-get install build-essential python3-dev python3-numpy libhdf4-dev -y !pip install git+https://github.com/hdfeos/pyhdf.git

Building wheel for pyhdf (setup.py) ... error ERROR: Failed building wheel for pyhdf Running setup.py clean for pyhdf Failed to build pyhdf Installing collected packages: pyhdf Running setup.py install for pyhdf ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-dfdkclp9/setup.py'"'"'; file='"'"'/tmp/pip-req-build-dfdkclp9/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-2_nh_597/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

What did you expect to see?

pyHDF to install

What did you see instead?

pyHDF failing to build a wheel like a caveman