Open SimonNie98 opened 5 years ago
I'm using Raspberry pi 3, Raspbian OS. tensorflow version 1.14.0 throws the same error. "No module named tensorflow.contrib" I tried installing 1.12.0. This time it throws this. "ImportError: /home/pi/.local/lib/python3.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _PyThreadState_Current Failed to load the native TensorFlow runtime." The error message is actually much longer. It also says to check https://www.tensorflow.org/install/errors But I couldn't find corresponding error on this page. Any suggestion? I'm using python3 command. I tried reinstalling tensorflow a couple of times already.
https://stackoverflow.com/questions/56002315/undefined-symbol-pythreadstate-current-when-importing-tensorflow I followed this to fix the problem above. This time the following showed up. "ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory"
Ensure that your tensorflow version must be 1.x.x, otherwise it will report an error that No module named tensorflow.contrib.