这是在使用 cx_freeze 对一个使用了 tensorflow 的项目打包时出现的错误,解决办法是,在当前python环境下的lib/site-packages/google目录下面新建空白文件 __init__.py 。