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

error code #10

Open
marekpiotrowsk opened this issue Apr 20, 2023 · 0 comments
Open

error code #10

marekpiotrowsk opened this issue Apr 20, 2023 · 0 comments

Comments

@marekpiotrowsk
Copy link

Hi i am getting the following error code after downloading autoGPT, any ideas ?

(auto-gpt-web) C:\Users\marek>Jina hello
Traceback (most recent call last):
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\lib\runpy.py", line 197, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\Scripts\jina.exe_main
.py", line 7, in
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\lib\site-packages\cli_init
.py", line 112, in main
args = get_run_args()
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\lib\site-packages\cli_init
.py", line 6, in get_run_args
from jina.parsers import get_main_parser
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\lib\site-packages\jina_init
.py", line 179, in
from jina.types.document import Document
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\lib\site-packages\jina\types\document_init.py", line 28, in
from ..mixin import ProtoTypeMixin
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\lib\site-packages\jina\types\mixin.py", line 6, in
from ..proto import jina_pb2
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\lib\site-packages\jina\proto\jina_pb2.py", line 37, in
_descriptor.EnumValueDescriptor(
File "C:\Users\marek\miniconda3\envs\auto-gpt-web\lib\site-packages\google\protobuf\descriptor.py", line 796, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:

  1. Downgrade the protobuf package to 3.20.x or lower.
  2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant