install wrongs #265
Unanswered
hjh19970102
asked this question in
Q&A
Replies: 0 comments
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.
-
When I install deepmd-kit ,I found it was successful
But when I have "dp -h ",it show that:
Traceback (most recent call last):
File "/home/hjh/anaconda3/envs/tensorflow/bin/dp", line 7, in
from deepmd.main import main
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/deepmd/init.py", line 1, in
from .env import set_mkl
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/deepmd/env.py", line 9, in
import tensorflow.compat.v1 as tf
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tensorflow/init.py", line 41, in
from tensorflow.python.tools import module_util as _module_util
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tensorflow/python/init.py", line 84, in
from tensorflow.python import keras
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tensorflow/python/keras/init.py", line 27, in
from tensorflow.python.keras import models
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tensorflow/python/keras/models.py", line 24, in
from tensorflow.python.keras import metrics as metrics_module
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tensorflow/python/keras/metrics.py", line 37, in
from tensorflow.python.keras.engine import base_layer
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer.py", line 51, in
from tensorflow.python.keras import initializers
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tensorflow/python/keras/initializers/init.py", line 127, in
populate_deserializable_objects()
File "/home/hjh/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tensorflow/python/keras/initializers/init.py", line 85, in populate_deserializable_objects
generic_utils.populate_dict_with_module_objects(
AttributeError: module 'tensorflow.python.keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'
What can I do something to solve that?
Thank you
conda 4.8.5
Python 3.8.3
tensorflow 2.3.1
cpu
Beta Was this translation helpful? Give feedback.
All reactions