Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protobuf error #9

Open
Teddy-XiongGZ opened this issue Jul 20, 2019 · 1 comment
Open

protobuf error #9

Teddy-XiongGZ opened this issue Jul 20, 2019 · 1 comment
Labels
good first issue Good for newcomers

Comments

@Teddy-XiongGZ
Copy link

from google.protobuf.pyext import _message
Traceback (most recent call last):
File "<pyshell#5>", line 1, in
from google.protobuf.pyext import _message
ImportError: cannot import name '_message'
from google.protobuf.pyext import _message

C:\Users\13971\Desktop\大一暑\Project\audioNet>pip install protobuf==3.6.0
Collecting protobuf==3.6.0
Using cached https://files.pythonhosted.org/packages/75/7a/0dba607e50b97f6a89fa3f96e23bf56922fa59d748238b30507bfe361bbc/protobuf-3.6.0-cp36-cp36m-win_amd64.whl
Requirement already satisfied: setuptools in d:\users\13971\appdata\local\programs\python\python36\lib\site-packages (from protobuf==3.6.0) (28.8.0)
Requirement already satisfied: six>=1.9 in d:\users\13971\appdata\local\programs\python\python36\lib\site-packages (from protobuf==3.6.0) (1.12.0)
ERROR: tensorflow 1.14.0 has requirement protobuf>=3.6.1, but you'll have protobuf 3.6.0 which is incompatible.
ERROR: tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 28.8.0 which is incompatible.
Installing collected packages: protobuf
Successfully installed protobuf-3.6.0

@ritou11
Copy link
Contributor

ritou11 commented Jul 22, 2019

在python中查看一下protobuf包的版本,是否真的是3.6.0
目前TensorFlow版本太高,如果依然跑不了,建议降级到1.10.0,这个在之前是得到验证的。

This was referenced Jul 22, 2019
@ritou11 ritou11 added the good first issue Good for newcomers label Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants