Search code examples
pythoncondamamba

How to change pinned packages in mamba package manager


When I try to install a python package in a minimamba distribution (mamba 0.14), there is no dependency solution for the python version installed (shown as pinned package below). How can I allow this package to be downgraded to allow a dependency solution?

(base) C:\Users\user>mamba install nipy

(...)

Pinned packages:
  - python 3.9.4

Encountered problems while solving:
  - package nipy-0.4.1-py37hfa6e2cd_1001 requires python >=3.7,<3.8.0a0, but none of the providers can be installed

I have tried the --no-pin parameter with no changes.


Solution

  • Did you try mamba install python=3.7 nipy? This should downgrade python package to the required version allowing you to install nipy and its dependencies.