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
Fix the sherpa installation #5233
Comments
One option here is to remove the version constraint on sherpa, or use 4.15 instead (in which case conda should work). |
Do we know what versions of Linux this happens for? |
I have the same ubuntu version. |
I have the same issue on Ubuntu 22.04.4. I found a bug on the sherpa issue tracker which shows the same problem occurring: sherpa/sherpa#828. From this comment sherpa/sherpa#828 (comment), assuming it's still true after a few years, it appears that installing sherpa via pip triggers a source install, which requires the user to have all the sherpa dependencies, including the build system bison. Modifying the env file by removing
It appears that the official sherpa channel on anaconda only has version 4.15, hence the small downgrade required. |
Sherpa was initially moved to the pip installation due to both apple and windows systems not being able to install it through this method. Not sure how we wish to proceed here? |
Gammapy version
gammapy 1.2, under Linux
Bug description
The installation of the environment with mamba/conda fails because of sherpa. This has been reported by several users.
Even afterwards after an installation without sherpa, the command
pip install sherpa==4.16
fails.The text was updated successfully, but these errors were encountered: