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

pip install cosipy issue with astromodels #165

Closed
nmik opened this issue Mar 18, 2024 · 3 comments
Closed

pip install cosipy issue with astromodels #165

nmik opened this issue Mar 18, 2024 · 3 comments
Labels
dependencies Installation problems related to external packages

Comments

@nmik
Copy link

nmik commented Mar 18, 2024

I was having an issue with installing cosipy with pip that was crushing when building the astromodels:

Screenshot 2024-03-18 at 2 33 59 AM

The prompt error also suggested the following:

Screenshot 2024-03-18 at 2 34 37 AM

Which worked:

pip install --use-pep517 -e .

I haven't tried if the non developer version of the pip installation also works:

pip install cosipy==0.0.2a --use-pep517

@israelmcmc
Copy link
Collaborator

@nmik can you try with Python 3.10, please?

I remember seeing this before, I think it's related to issue #127 (which is really an issue with one of our dependencies)

@israelmcmc israelmcmc added the dependencies Installation problems related to external packages label Mar 18, 2024
@nmik
Copy link
Author

nmik commented Mar 18, 2024

@israelmcmc I dis start from scratch from a new conda environment following the instructions here: https://cositools.github.io/cosipy/install.html

I created the conda environment with:
conda create -n <cosipy_env_name> python=3.10 pip

Indeed the python version in the environment is
Python 3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:36:59) [Clang 16.0.6 ] on darwin Type "help", "copyright", "credits" or "license" for more information.

@israelmcmc
Copy link
Collaborator

Python 3.10 worked. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Installation problems related to external packages
Projects
None yet
Development

No branches or pull requests

2 participants