DiffEqML / torchdyn

A PyTorch library entirely dedicated to neural differential equations, implicit models and related numerical methods
https://torchdyn.org
Apache License 2.0
1.4k stars 130 forks source link

ModuleNotFoundError: No module named 'torchdyn' #119

Closed SubhojitMandal-iiits closed 2 years ago

SubhojitMandal-iiits commented 3 years ago

Hello, I am new user for this package, unable to import it in Google Colab. It is throwing error as ' No module named 'torchdyn'', though I have installed the dependencies. It is installed in Colab as showing under python/3.8/site-packages but unable to import, can you help me regarding this?

Zymrael commented 3 years ago

Could you share the colab? Could be a misconfiguration problem, we haven't had issues like this outside colab environments.

SubhojitMandal-iiits commented 3 years ago

https://colab.research.google.com/drive/1ZQiVnF3Mrji99C3WVmmX6obHW-kawDQy?usp=sharing

Hello @Zymrael I have attached the link of the colab file. Please check the issue. Thanks in advance.

Zymrael commented 3 years ago

The notebook is not accessible, could you make sure it has been shared?

SubhojitMandal-iiits commented 3 years ago

https://gist.github.com/SubhojitMandal-iiits/6482adf7e334fd23117fb7f48b6cee0e From here you can access @Zymrael.

Zymrael commented 3 years ago

It seems you are getting the same ModuleNotFoundError for pytorch-lightning as well. I ran your notebook and got the same various packages installed. A mismatch between where you are installing and the kernel used for the notebook.

Either way, it is not torchdyn specific :)