Skip to content

Mamba: could not solve for environment specs #1269

@nynkekatinka

Description

@nynkekatinka

Hi development team!

I have made an empty mamba environment to install cellrank into. However, I am unable to solve for the environment specs.

mamba install cellrank
warning  libmamba 'repo.anaconda.com', a commercial channel hosted by Anaconda.com, is used.

warning  libmamba Please make sure you understand Anaconda Terms of Services.

warning  libmamba See: https://legal.anaconda.com/policies/en/

error    libmamba Could not solve for environment specs
    The following package could not be installed
    └─ cellrank =* * does not exist (perhaps a typo or a missing channel).

When specifying conda-forge as the channel, I get the following error:

mamba install -c conda-forge cellrank

conda-forge/noarch                                          Using cache
conda-forge/win-64                                          Using cache
warning  libmamba 'repo.anaconda.com', a commercial channel hosted by Anaconda.com, is used.

warning  libmamba Please make sure you understand Anaconda Terms of Services.

warning  libmamba See: https://legal.anaconda.com/policies/en/

error    libmamba Could not solve for environment specs
    The following package could not be installed
    └─ cellrank =* * is not installable because it requires
       └─ pygpcca >=1.0.4 *, which requires
          └─ petsc >=3.13.0,!=3.14.0 *, which does not exist (perhaps a missing channel).

Adding a specific version to the command such as mamba install -c conda-forge "petsc==3.23.6" cellrank unfortunately does not solve the issue

error    libmamba Could not solve for environment specs
    The following packages are incompatible
    ├─ cellrank =* * is not installable because it requires
    │  └─ pygpcca >=1.0.4 *, which requires
    │     └─ petsc >=3.13.0,!=3.14.0 *, which does not exist (perhaps a missing channel);
    └─ petsc ==3.23.6 * does not exist (perhaps a typo or a missing channel).

I get the same errors when using conda rather than mamba, and independently of whether or not I am making a new environment before installing the packages or doing so simultaneously.

When going to the documentation of petsc, they only offer pypi for installation options, so that might be where things go awry. Do you perhaps have a list of all the dependencies from your conda installation that wouldn't be installed using PyPi so that I can manually add them all?

Thank you in advance for thinking along!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions