I try to deploy a model with pyinstaller and when i run it i get the following error.
ModuleNotFoundError: No module named 'tensorflow.python._pywrap_tensorflow_internal'
Tensorflow 1.7.0
cudnn64_7
CUDA 9.0
Python 3.6
You can resolve this issue by simply renaming the file _pywrap_tensorflow_internal.pyd
contained in the dist folder to tensorflow.python._pywrap_tensorflow_internal.pyd
.
I still have to figure out how to tell pyinstaller the "correct" module name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With