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

Unable to install exoplanet using Conda Forge #343

Open
mjl192 opened this issue Dec 30, 2024 · 1 comment
Open

Unable to install exoplanet using Conda Forge #343

mjl192 opened this issue Dec 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mjl192
Copy link

mjl192 commented Dec 30, 2024

Describe the bug
Conda is unable to install exoplanet (unable to solve for environment specs). Seems like there is some kind of version incompatibility, I get the following code in error:
Channels:

  • conda-forge
  • defaults
    Platform: osx-arm64
    Collecting package metadata (repodata.json): done
    Solving environment: \ warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
    failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides python >=3,<3.7 needed by contextvars-2.1-py_0

Could not solve for environment specs
The following packages are incompatible
├─ exoplanet is installable with the potential options
│ ├─ exoplanet 0.5.2 would require
│ │ └─ python >=3.10,<3.11.0a0 *_cpython, which can be installed;
│ ├─ exoplanet 0.5.2 would require
│ │ └─ python >=3.8,<3.9.0a0 *_cpython, which can be installed;
│ ├─ exoplanet 0.5.2 would require
│ │ └─ python >=3.9,<3.10.0a0 *_cpython, which can be installed;
│ ├─ exoplanet [0.2.4|0.2.5|...|0.5.3] would require
│ │ ├─ numpy <1.22 with the potential options
│ │ │ ├─ numpy [1.19.2|1.19.4|...|1.21.6] would require
│ │ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ │ │ ├─ numpy [1.19.2|1.19.4|...|1.21.6] would require
│ │ │ │ └─ python >=3.9,<3.10.0a0 , which can be installed;
│ │ │ ├─ numpy [1.19.5|1.20.3|...|1.21.6] would require
│ │ │ │ └─ python >=3.8,<3.9.0a0 *_cpython, which can be installed;
│ │ │ ├─ numpy [1.19.5|1.20.3|...|1.21.6] would require
│ │ │ │ └─ python >=3.9,<3.10.0a0 *_cpython, which can be installed;
│ │ │ ├─ numpy [1.21.3|1.21.4|1.21.5|1.21.6] would require
│ │ │ │ └─ python >=3.10,<3.11.0a0 *_cpython, which can be installed;
│ │ │ └─ numpy [1.21.2|1.21.5|1.21.6] would require
│ │ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ │ └─ theano >=1.0.4 with the potential options
│ │ ├─ theano 1.0.5 would require
│ │ │ └─ python >=3.10,<3.11.0a0 *_cpython, which can be installed;
│ │ ├─ theano 1.0.5 would require
│ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ │ ├─ theano 1.0.5 would require
│ │ │ └─ python >=3.8,<3.9.0a0 *_cpython, which can be installed;
│ │ ├─ theano 1.0.5 would require
│ │ │ └─ python >=3.9,<3.10.0a0 *_cpython, which can be installed;
│ │ ├─ theano 1.0.5 would require
│ │ │ └─ python >=3.9,<3.10.0a0 , which can be installed;
│ │ └─ theano 1.0.5 would require
│ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ └─ exoplanet 0.5.2 would require
│ └─ pymc3 >=3.9 with the potential options
│ ├─ pymc3 3.11.4 would require
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ ├─ pymc3 3.11.4 would require
│ │ └─ python >=3.9,<3.10.0a0 , which can be installed;
│ ├─ pymc3 [3.11.5|3.11.6] would require
│ │ └─ python >=3.8,<3.9.0a0 _cpython, which can be installed;
│ ├─ pymc3 [3.11.5|3.11.6] would require
│ │ └─ python >=3.9,<3.10.0a0 _cpython, which can be installed;
│ ├─ pymc3 3.10.0 would require
│ │ └─ theano-pymc 1.0.11 , which does not exist (perhaps a missing channel);
│ ├─ pymc3 [3.11.0|3.11.1|3.11.2|3.11.4] would require
│ │ └─ mkl-service, which does not exist (perhaps a missing channel);
│ ├─ pymc3 3.11.2 would require
│ │ └─ gxx_linux-64 9.
, which does not exist (perhaps a missing channel);
│ ├─ pymc3 [3.9.1|3.9.2|3.9.3] would require
│ │ └─ theano [>=1.0.4 |>=1.0.5 ], which can be installed (as previously explained);
│ └─ pymc3 [3.9.2|3.9.3] would require
│ └─ contextvars but there are no viable options
│ ├─ contextvars [2.1|2.4] would require
│ │ └─ python >=3,<3.7 , which does not exist (perhaps a missing channel);
│ ├─ contextvars 2.2 would require
│ │ └─ immutables 0.5 , which does not exist (perhaps a missing channel);
│ └─ contextvars 2.3 would require
│ └─ immutables 0.6 , which does not exist (perhaps a missing channel);
└─ pin-1 is not installable because it requires
└─ python 3.12.
, which conflicts with any installable versions previously reported.

To Reproduce
conda install -c conda-forge exoplanet

Expected behavior
exoplanet should download and be able to function in Jupyter and other anaconda applications.

Your setup (please complete the following information):

  • Version of exoplanet: 0.5.2
  • Operating system: MacOSX Sonoma 14.7.2
  • Python version & installation method (pip, conda, etc.): Conda v24.11.2 via Anaconda Navigator, details below.
    active environment : base
    active env location : /opt/anaconda3
    shell level : 1
    user config file : /Users/marklynch/.condarc
    populated config files : /opt/anaconda3/.condarc
    /Users/marklynch/.condarc
    conda version : 24.11.2
    conda-build version : 24.9.0
    python version : 3.12.2.final.0
    solver : libmamba (default)
    virtual packages : __archspec=1=m2
    __conda=24.11.2=0
    __osx=14.7.2=0
    __unix=0=0
    base environment : /opt/anaconda3 (writable)
    conda av data dir : /opt/anaconda3/etc/conda
    conda av metadata url : None
    channel URLs : https://repo.anaconda.com/pkgs/main/osx-arm64
    https://repo.anaconda.com/pkgs/main/noarch
    https://repo.anaconda.com/pkgs/r/osx-arm64
    https://repo.anaconda.com/pkgs/r/noarch

Additional context
I'm very much a rookie with python still, so apologies if this is a really easy fix that I've just not been able to find myself!

@mjl192 mjl192 added the bug Something isn't working label Dec 30, 2024
@mjl192
Copy link
Author

mjl192 commented Dec 30, 2024

Solved by reverting to Python v3.8.20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant