Closed merdan-9 closed 2 years ago
Which torchdyn
version was installed?
torchdyn 0.2.2.1 pypi_0 pypi
Having same issue - clean install in new conda environment; installed torchdyn 1.0 using pip. Attempting:
from torchdyn.core import *
fails with "No module names 'torchdyn.core'.
getting the same error.
ModuleNotFoundError Traceback (most recent call last)
One issue is fixed by upgrading your Python to >=3.8
. Attempting to pip install torchdyn
with a Python version <3.8
installs torchdyn=0.2.2.1
or a different earlier version compatible with older Python.
If that fails pip install torchdyn==1.0.0
I am using conda environment with python 3.9.1 and pip21.2.3 on Ubuntu. I did use pip install torchdyn==1.0.0 to install it. (1) I can import torchdyn, which gives torchdyn version '1.0'. (2) from torchdyn.datasets import Works well with out issue However, (3) from torchdyn.core import OR from torchdyn.core import NeuralODE throws error ModuleNotFoundError: No module named 'torchcde'
Please suggest
@Zymrael I get the same behavior as @rsrad just reported; my conda environment is using Python 3.9.5 and pip installed torchdyn version 1.0. Importing 'datasets' or '*' works, importing torchdyn.core fails.
torchcde
is not installed automatically in 1.0.0
since at the time it was not available on PyPI. We have now added a direct dependency so installing torchdyn=1.0.1
will install that for you. You can also simply pip install torchcde
Closing for now as the issue seems resolved.
Hi,
I installed torchdyn and ran the Quickstart code, but it occurs: "ModuleNotFoundError: No module named 'torchdyn.core'".
How should I fix it?
Thanks for your help!