1

There is a package that I wanted to install on Anaconda/Jupyter, called nutopy. The documentation about it is given here.

When I try to install it with Conda using:

conda install -c control-toolbox -c conda-forge nutopy

It keeps solving envirenement forever. Do you have an idea how to solve this problem?

merv
  • 67,214
  • 13
  • 180
  • 245
hanava331
  • 11
  • 2
  • 2
    Hi, welcome to SO. There are quite a few posts about this already on here if you search for 'conda solving environment'. You might be able to see the where stalling occurs if your run the command with the `--debug` flag. – Ari Cooper-Davis Jun 08 '22 at 13:39
  • 1
    Try starting with a fresh environment. Perhaps your current environment contains packages that conflict with nutopy dependencies. – Dima Chubarov Jun 08 '22 at 13:40

1 Answers1

0

There could be a few things, but main issues I see are that the package you want to use is only available for Python 3.7 (except on Linux, which has one 3.9 build) and you are prioritizing conda-forge channel in an Anaconda base. If you don't already have Python 3.7 in the base, Conda is probably wasting a ton of time trying to figure out how to solve this. And over-prioritizing Conda Forge packages in Anaconda base is crushingly difficult to solve.

General recommendation is to create a new environment, and include the ipykernel package if you want to use it as a Jupyter kernel

conda create -n nutopy -c conda-forge -c control-toolbox python=3.7 nutopy ipykernel

You can still launch Jupyter with base activated and then change kernels in the notebook.

merv
  • 67,214
  • 13
  • 180
  • 245