ModuleNotFoundError: No module named 'deepxde' #871
anshumansinha16
started this conversation in
General
Replies: 3 comments 5 replies
-
The terminal says no module 'deepxde'; but the command
|
Beta Was this translation helpful? Give feedback.
2 replies
-
This cannot be an issue of DeepXDE. Can you import tensorflow or pytorch? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Check the Python path. (base) hell@Dell-Precision-T7910:~$ which python
/home/hell/anaconda3/bin/python Here my Python env is installed in (base) hell@Dell-Precision-T7910:~$ python
Python 3.9.12 (main, Apr 5 2022, 06:56:58)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.>>> import numpy
>>> numpy
<module 'numpy' from '/home/hell/anaconda3/lib/python3.9/site-packages/numpy/__init__.py'>
>>> import deepxde
Using backend: pytorch
>>> deepxde
<module 'deepxde' from '/home/hell/anaconda3/lib/python3.9/site-packages/deepxde/__init__.py'> In my case both |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Even after installing deepxde I am not able to run my code in VScode! I tried to uninstall and re-install as well; but no help with that!
Beta Was this translation helpful? Give feedback.
All reactions