-
Notifications
You must be signed in to change notification settings - Fork 142
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
I get AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key' #3
Comments
I cannot reproduce this error. |
I had this too. Python 3.8.5. I had |
If it helps anyone else, I had this also. I was running this in a fresh Ubuntu 20.04 installation, and had installed the protobuf package via the distribution's packaging system ( Unfortunately the version of protobuf provided is too old (3.6.1.3-2ubuntu5, to be precise) and I didn't seem to have pip installed. I'm not a Python expert yet, and not wishing to break my new desktop installation by going down a dependency rabbit-hole, I decided to use docker as I already had that installed. Here's my one-liner that I used to get it working, this might help others too? This presumes the input file is in
This will download the official Python3 docker image, install Protobuf via PIP, run the script and then exit, cleaning up after itself. |
It seems that an upgrade to protobuf 3.14.0 will solve this issue, see #3 (comment) |
when running examples from "tests" DIr getting error no module named "extract_otp_secrets". Pls help |
@harry-appinfotech Please provide more information, to reproduce your case, e.g. versions, working directory, commands, ... |
AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
The text was updated successfully, but these errors were encountered: