-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to pip install #298
Comments
I didn't add the bz2 support, can't recall who did. Anyone have ideas? |
Just to restate, this is an issue with bz2 support. A quick fix would be to make sure libbz2 is installed with headers. but we should be detecting that |
I looked into this a bit more. I didn't add the bzip support. It looks like currently installation of fitsio requires libbz2 to be installed (with headers), and this is true for pip installs as well. So if you want to use pip you will need to install it. Note however that if you use conda it will pull in bzip for you |
@esheldon, thanks for the answers. I would be nice to be able to use pip install. |
Pip install does work, but you need to install libbz2 first |
I think we understand the problem here, that you need libbz2, it is a dependency. That dependency cannot be installed from pip. Is it not possible to install libbz2 on your system? |
@esheldon, the issue first came from travis tests, that uses pip install. |
@esheldon, Indeed. I just tried and running |
We'd have to vendor those libs to make pip work out of the box. |
Do you mean you would have to buy them? |
No I mean we'd have to build them from source on the fly. |
This is a very bad practice by the way. The proper fix is for you to install them as you did. |
For anyone else stumbling across this and using Anaconda, this works:
|
Running pip install on the latest version crashes.
python -m pip install fitsio --upgrade
, but not on version 1.0.5.The text was updated successfully, but these errors were encountered: