For tensorflow_compression, please install TensorFlow 2.1. (Urgent !) #204
Unanswered
DerrickLinus
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi, it looks like you are importing an old version TFC from your workspace rather than the one you installed with pip. When you "import tensorflow_compression", Python will first search in your current directory. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I first installed tensorflow-compression using the official command:
python -m pip install tensorflow-compression
But then, when I want to use it, the following error occurred:
import tensorflow_compression as tf
Traceback (most recent call last):
File "/home/jay/workspace/adjscc/tensorflow_compression/init.py", line 20, in
assert _tf_version[0] == 2 and _tf_version[1] == 1
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/jay/workspace/adjscc/tensorflow_compression/init.py", line 22, in
raise RuntimeError(
RuntimeError: For tensorflow_compression, please install TensorFlow 2.1.
The version currently supported by tensorflow-compression has been clearly stated in the github project to be TensorFlow 2.14, but why does it show that TensorFlow 2.1 is required in the initialization file?
Beta Was this translation helpful? Give feedback.
All reactions