zylon-ai / private-gpt

Interact with your documents using the power of GPT, 100% privately, no data leaks
https://privategpt.dev
Apache License 2.0
53.76k stars 7.22k forks source link

make: *** [Makefile:36: run] Error 1 #1533

Open EXISTM4YH3M opened 8 months ago

EXISTM4YH3M commented 8 months ago

Got to the end, when i try to use "make run" it does this: Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/dylan/privateGPT/private_gpt/main.py", line 5, in from private_gpt.main import app File "/home/dylan/privateGPT/private_gpt/main.py", line 3, in import llama_index File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/init.py", line 21, in from llama_index.indices import ( File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/indices/init.py", line 4, in from llama_index.indices.composability.graph import ComposableGraph File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/indices/composability/init.py", line 4, in from llama_index.indices.composability.graph import ComposableGraph File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/indices/composability/graph.py", line 5, in from llama_index.core import BaseQueryEngine File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/core/init.py", line 2, in from llama_index.core.base_retriever import BaseRetriever File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/core/base_retriever.py", line 7, in from llama_index.service_context import ServiceContext File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/service_context.py", line 10, in from llama_index.indices.prompt_helper import PromptHelper File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/indices/prompt_helper.py", line 20, in from llama_index.node_parser.text.token import TokenTextSplitter File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/node_parser/init.py", line 12, in from llama_index.node_parser.relational.hierarchical import ( File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/node_parser/relational/init.py", line 2, in from llama_index.node_parser.relational.unstructured_element import ( File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/llama_index/node_parser/relational/unstructured_element.py", line 5, in import pandas as pd File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/pandas/init.py", line 23, in from pandas.compat import ( File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/pandas/compat/init.py", line 27, in from pandas.compat.pyarrow import ( File "/home/dylan/.cache/pypoetry/virtualenvs/private-gpt-IPeNk3GF-py3.11/lib/python3.11/site-packages/pandas/compat/pyarrow.py", line 10, in _palv = Version(Version(pa.version).base_version) ^^^^^^^^^^^^^^ AttributeError: module 'pyarrow' has no attribute 'version' make: *** [Makefile:36: run] Error 1

github-actions[bot] commented 7 months ago

Stale issue

Rubiel1 commented 3 months ago

Oh I got another make error:

    ] = field(alias="anchors_in")
        ^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: field() got an unexpected keyword argument 'alias'
make: *** [Makefile:36: run] Error 1