auto-gpt-web icon indicating copy to clipboard operation
auto-gpt-web copied to clipboard

error code

Open marekpiotrowsk opened this issue 1 year ago • 0 comments

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

marekpiotrowsk avatar Apr 20 '23 07:04 marekpiotrowsk