Skip to content
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

Installation issue #3

Open
dutramaira opened this issue Oct 21, 2024 · 0 comments
Open

Installation issue #3

dutramaira opened this issue Oct 21, 2024 · 0 comments

Comments

@dutramaira
Copy link

  • Installing gammaraytoys in the cosipy folder:

Using 'pip install -e .' gave me the following message:

'DEPRECATION: Legacy editable install of gammaraytoys==0.0.1 from file:///Users/mdutrava/cosipy/gammaraytoys (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at pypa/pip#11457
Running setup.py develop for gammaraytoys
Successfully installed gammaraytoys-0.0.1'

Using 'pip install --use-pep517 -e .' gives me no deprecation message. I had the same issue while installing cosipy, and the editable feature works fine.

  • Installing gammaraytoys outside the cosipy folder gave me the following error message:

'Running setup.py develop for gammaraytoys
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gammapy 1.2 requires astropy<6.1,>=5.0, but you have astropy 6.1.4 which is incompatible.
gammapy 1.2 requires numpy<2.0,>=1.21, but you have numpy 2.0.2 which is incompatible.
Successfully installed gammaraytoys-0.0.1 h5py-3.12.1 healpy-1.17.3 histpy-1.1.4 llvmlite-0.43.0 mhealpy-0.3.4 numba-0.60.0 numpy-2.0.2 sparse-0.15.4'

But it seems to be working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant