-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Installation issue #796
Comments
This wheel was built against TensorFlow 2.4, so you will se incompatibility when you are using TensorFlow 2.5. |
I am considering to add a message before loading library, so one can know what happened and what to do. |
Thanks for the comments. I did more tests, dp1.3.3 is compatible with tf 2.4 only, but dp 1.3.4 works fine with tf 2.3, 2.4, and 2.5. |
When you |
* throw a message if tf runtime is incompatible fix deepmodeling#557 and deepmodeling#796. * still raise if tf version is correct * detect TF_CXX11_ABI_FLAG * format codes * fix lint * move messages into the function * fix lint * fix lints
Merge master to devel
Dear dp developers,
I'm trying to install the python interface of deepmd-kit only. I noted that someone had the similar issue: #557, and I thought it could be the tensorflow's bug. But I couldn't solve it even if I tried the solutions given here: tensorflow/text#385
I created an empty conda environment first, and set the python version to be 3.8.
Then, I installed tensorflow-cpu (2.5.0) and deepmd-kit 1.3.3 using pip command: pip install tensorflow-cpu/deepmd-kit .
But the dp can not run properly:
The problem was solved when I switched to deepmd-kit 1.3.4 using
'pip install git+https://github.com/deepmodeling/deepmd-kit', instead of simply 'pip install deepmd-kit'.
Update the deepmd-kit wheel may prevent similar problems in the future.
Thanks.
The text was updated successfully, but these errors were encountered: