You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing napari-clusters-plotter and pytorch in the same conda environment, pytorch doesn't work unfortunately. The problem is that the library control breaks pytorch. control is installed because the clusters-plotter installs finesse, which depends on control. The issue only comes when installing the clusters-plotter using mamba or conda. The pip installation is fine.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\haase\mambaforge\envs\test10\lib\site-packages\torch\__init__.py", line 122, in <module>
raise err
OSError: [WinError 182] The operating system cannot run %1. Error loading "C:\Users\haase\mambaforge\envs\test10\lib\site-packages\torch\lib\nvfuser_codegen.dll" or one of its dependencies.
The text was updated successfully, but these errors were encountered:
haesleinhuepf
changed the title
clusters plotter is incompatible with pytorch on windows because of 'control
clusters plotter is incompatible with pytorch on windows because of 'control' library
May 1, 2023
When installing napari-clusters-plotter and pytorch in the same conda environment, pytorch doesn't work unfortunately. The problem is that the library
control
breakspytorch
.control
is installed because the clusters-plotter installsfinesse
, which depends oncontrol
. The issue only comes when installing the clusters-plotter using mamba or conda. The pip installation is fine.finesse is listed under requirements on conda-forge, but not in requirements.txt or setup.py. I can confirm that installing it via pip doesn't cause the issue.
To reproduce set up an environment like this:
Run this python script:
Error:
Figuring out dependencies
I used
conda-tree
to figure that out:See also
The text was updated successfully, but these errors were encountered: