fitsio error while pip installing
Closed this issue · 5 comments
I am encountering the error below for the first time (I have been running "!pip install fitsio" within Google Collab for months without an issue and just now I encounter this error below. Probably an inadvertent error that crept into an update?
Collecting fitsio
Using cached fitsio-1.2.2.tar.gz (4.5 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from fitsio) (1.25.2)
Building wheels for collected packages: fitsio
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for fitsio (setup.py) ... error
ERROR: Failed building wheel for fitsio
Running setup.py clean for fitsio
Failed to build fitsio
ERROR: Could not build wheels for fitsio, which is required to install pyproject.toml-based projects
It looks like the zlib is not being pulled into the dist with python setup.py sdist
Sorry. Any suggestions on how to get zlib to be pulled into the dist. I did try running "python setup.py sdist" but since it doesn't know where to find setup.py that fails too. I haven't changed anything and it ran fine just two days ago.
Can you please try again now that 1.2.3 is released on pypi?