[Python] Miniconda and environment creation error: Solving environment: failed

Discussão em 'Python' iniciado por Stack, Fevereiro 24, 2025.

  1. Stack

    Stack Membro Participativo

    I have downloaded the latest version for Linux of Miniconda, by following the instructions on the website https://docs.anaconda.com/miniconda/install/. I cloned the repository https://gitlab.com/veropalumbo.alfonso/meascorr and tried to create the environment mc-env with:

    conda env create -f environment.yml


    However, I get the following message:

    Channels:
    - conda-forge
    - defaults
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

    LibMambaUnsatisfiableError: Encountered problems while solving:
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - unsupported request
    - nothing provides libgcc-ng >=7.3.0 needed by numpy-1.17.0-py36h7e9f1db_0
    - nothing provides python >=3.5 needed by jupyterlab-1.1.3-pyhf63ae98_0

    Could not solve for environment specs
    The following packages are incompatible
    ├─ boost-cpp =* * does not exist (perhaps a typo or a missing channel);
    ├─ c-compiler =* * does not exist (perhaps a typo or a missing channel);
    ├─ ccfits =* * does not exist (perhaps a typo or a missing channel);
    ├─ cfitsio =* * does not exist (perhaps a typo or a missing channel);
    ├─ cxx-compiler =* * does not exist (perhaps a typo or a missing channel);
    ├─ eigen =* * does not exist (perhaps a typo or a missing channel);
    ├─ fftw =* * does not exist (perhaps a typo or a missing channel);
    ├─ fortran-compiler =* * does not exist (perhaps a typo or a missing channel);
    ├─ gsl =* * does not exist (perhaps a typo or a missing channel);
    ├─ jupyterlab =* * is not installable because there are no viable options
    │ ├─ jupyterlab [1.1.3|1.1.4|...|2.3.1] would require
    │ │ └─ python >=3.5 *, which does not exist (perhaps a missing channel);
    │ └─ jupyterlab [3.0.11|3.0.14|...|3.3.2] would require
    │ └─ ipython =* *, which does not exist (perhaps a missing channel);
    ├─ matplotlib =* * does not exist (perhaps a typo or a missing channel);
    ├─ numpy =* * is not installable because it requires
    │ └─ libgcc-ng >=7.3.0 *, which does not exist (perhaps a missing channel);
    ├─ python =3.9 * does not exist (perhaps a typo or a missing channel);
    ├─ scipy =* * does not exist (perhaps a typo or a missing channel);
    ├─ swig =* * does not exist (perhaps a typo or a missing channel);
    └─ sympy =* * does not exist (perhaps a typo or a missing channel).


    I tried to reinstall Miniconda but it doesn't work. I would appreciate it if you could give me any suggestions.

    Continue reading...

Compartilhe esta Página