Replies: 1 comment
-
Is your tensorflow installed correctly? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, LuLu
I installed deepxde in a new virtual environment (tensorflow-gpu 2.8.0), but an error occurs.
I'm not sure how to solve it, even looking at the FAQ or backend explanation.
The error is something like this:
ModuleNotFoundError Traceback (most recent call last)
Cell In[5], line 4
1 import numpy as np
2 from scipy.integrate import odeint
----> 4 import deepxde as dde
5 from deepxde.backend import tf
.....
File ~\anaconda3\envs\xde2\lib\site-packages\tensorflow\python\util\lazy_loader.py:62, in LazyLoader.getattr(self, item)
61 def getattr(self, item):
---> 62 module = self._load()
63 return getattr(module, item)
File ~\anaconda3\envs\xde2\lib\site-packages\tensorflow\python\util\lazy_loader.py:45, in LazyLoader._load(self)
43 """Load the module and insert it into the parent's globals."""
44 # Import the target module and insert it into the parent's namespace
---> 45 module = importlib.import_module(self.name)
46 self._parent_module_globals[self._local_name] = module
48 # Emit a warning if one was specified
File ~\anaconda3\envs\xde2\lib\importlib_init_.py:127, in import_module(name, package)
125 break
126 level += 1
--> 127 return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'keras'
How do I solve this?
Beta Was this translation helpful? Give feedback.
All reactions