Ask questionsTensorflow 2.0 error when used via pyinstaller build - ImportError: cannot import name 'pywrap_tensorflow' from 'tensorflow_core.python'
<em>Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template</em>
Describe the problem This has happened after upgrade to Tensorflow 2.0 .
On executing the EXE file generated by Pyinstaller for Tensorflow 2.0, we get the following error:
'ImportError: cannot import name 'pywrap_tensorflow' from 'tensorflow_core.python'
The scripts work okay in PyCharm or Jupyter. The same version of scripts when run under Tensorflow 1.x execute correctly
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Answer questions oanush
@anilkdas , Can you please refer this link of similar issue ?Thanks!