错误1
Descriptors cannot not be created directly. If this call came from a _pb2.py
解决方法
pip install protobuf==3.20.1 -i https://pypi.douban/simple --user
错误2
TypeError: Couldn’t build proto file into descriptor pool: duplicate file na
解决方法
pip uninstall protobuf
pip install --no-binary=protobuf protobuf -i https://pypi.douban/simple
更多推荐
导入paddle模块时报错
发布评论