Traceback (most recent call last):


 "tf_pyinstaller_test.py", line 1, in <module>

import tensorflow


 "c:\users\jerry c\desktop\built\temp_venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module

exec(bytecode, module.__dict__)


 "tensorflow\__init__.py", line 99, in <module>


 "c:\users\jerry c\desktop\built\temp_venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module

exec(bytecode, module.__dict__)


 "tensorflow_core\__init__.py", line 28, in <module>


 "tensorflow\__init__.py", line 50, in __getattr__


 "tensorflow\__init__.py", line 44, in _load


 "importlib\__init__.py", line 127, in import_module
ModuleNotFoundError: No module named 'tensorflow_core.python'

Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook

from apport.fileutils import likely_packaged, get_recent_crashes


 "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>

from apport.report import Report


 "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>

import apport.fileutils


 "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>

from apport.packaging_impl import impl as packaging


 "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>

import apt


 "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>

import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
