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

win启动不了 #48

Open
darius-gs opened this issue Feb 26, 2024 · 5 comments
Open

win启动不了 #48

darius-gs opened this issue Feb 26, 2024 · 5 comments

Comments

@darius-gs
Copy link
Contributor

win启动的时候报错:ImportError: cannot import name 'LLM' from 'llama_index.core.llms' (C:\ProgramData\Miniconda3\envs\history_rag-master\lib\site-packages\llama_index\core\llms_init_.py)
换了llama_index的版本还是不行

@wxywb
Copy link
Owner

wxywb commented Feb 26, 2024

pip list |grep llama

@darius-gs
Copy link
Contributor Author

pip list |grep llama

直接把这个conda环境删了,然后requirements.txt里第一个改成llama-index==0.9.39后重新install后可以了

@wxywb
Copy link
Owner

wxywb commented Feb 26, 2024

看起来是由于0.10 后引入了break change,而我之前的版本依赖是 >=0.9.39 导致失败,我在没升级之前改为==0.9.39好了

@darius-gs
Copy link
Contributor Author

看起来是由于0.10 后引入了break change,而我之前的版本依赖是 >=0.9.39 导致失败,我在没升级之前改为==0.9.39好了

大佬有交流群嘛,小白想咨询点问题哦

@wxywb
Copy link
Owner

wxywb commented Feb 26, 2024

没有交流群,这里就是公开的社区,就在这里问好了,也许会有别人有和你一样的问题。

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

2 participants