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

ImportError: cannot import name 'GPTVectorStoreIndex' from 'llama_index' (unknown location) #53

Open
aarontj73 opened this issue May 3, 2024 · 2 comments

Comments

@aarontj73
Copy link

After installing llamabot in a fresh conda env with python 3.9 i get the error in the title. Any fixes recommended?

@jackievaleri
Copy link

I had the same error in a fresh python3.10 conda environment. The error is because I was working with an old version of llamabot - v0.0.62. This is the version that is compatible with 3.10.

I did a fresh python3.11 conda environment and then pip install llamabot. This installed the latest version of llamabot, v0.4.4. The error resolved for me! So I recommend upgrading to 3.11 environment and retrying the llamabot install.

@ericmjl
Copy link
Owner

ericmjl commented May 29, 2024

Thanks for reporting the error, @aarontj73, and thanks for chiming in, @jackievaleri! It looks like I should push a change that sets the minimum version of Python to 3.10 or 3.11, I think, which is what is tested on CI/CD.

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

3 participants