错误消息(请查看截图):
ImportError: cannot import name symbol_database
Error importing tensorflow. Unless you are using bazel,
you should not try to import tensorflow from its source directory;
please exit the tensorflow source tree, and relaunch your python interpreter
from there.
Process finished with exit code 1
Run Code Online (Sandbox Code Playgroud)
非常感谢 !
我有一个python项目,它使用谷歌protobufs作为通过网络进行通信的消息格式.使用该protoc程序直接从.proto文件生成python文件.如何setup.py为项目配置文件以便自动调用protoc命令?