我修复了执行exe文件后遇到的许多错误。我收到此错误
Traceback (most recent call last):
File "C:\Users\anesh\Anaconda3\envs\tensorflow1\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 14, in run
module.run()
File "C:\Users\anesh\Anaconda3\envs\tensorflow1\lib\site-packages\cx_Freeze\initscripts\Console.py", line 26, in run
exec(code, m.__dict__)
File "object_track_-pyQt-persondetect.py", line 21, in <module>
File "C:\Users\anesh\AppData\Roaming\Python\Python36\site-packages\tensorflow\__init__.py", line 22, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\anesh\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\__init__.py", line 52, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "C:\Users\anesh\AppData\Roaming\Python\Python36\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
from google.protobuf import descriptor as _descriptor
ModuleNotFoundError: No module named 'google'
我看到了将__init__.py
放入Google目录的答案。没有google目录。我应该将__init__.py
文件放在哪里?