Open Snake-Konginchrist opened 7 months ago
按照一些方法,llama_index已经更新到0.10.5版本了,仍然出现此问题,Python版本是3.10.12
你先试一下这个版本?llama-index 0.9.39
,虽然 'llama_index' (unknown location)这个未知位置引起了我的注意。
感谢,问题已解决,看来真的是版本更迭的问题。
大神好,我在windows下遇到了同样的问题,请教如何回退版本,是否需要删除镜像重新编译,本人是小白,麻烦指教详细步骤,多谢!
大神好,我在windows下遇到了同样的问题,请教如何回退版本,是否需要删除镜像重新编译,本人是小白,麻烦指教详细步骤,多谢! 试一下
pip install llama-index==0.9.39
今天也遇到了相同的问题,llama_index版本是0.10.6
我会升级到更高版本的llama_index
Traceback (most recent call last):
File "/Users/lianmingzhang/WorkSpace/PyCharm/llama-study/LamaIndex/RagDemo.py", line 31, in
进程已结束,退出代码为 1
按照步骤安装完成,运行时报错: (history-rag) ubuntu@SKTech-Shanghai:/var/www/history_rag$ python cli.py --cfg cfgs/config_qwen.yaml Traceback (most recent call last): File "/var/www/history_rag/cli.py", line 1, in
from executor import MilvusExecutor
File "/var/www/history_rag/executor.py", line 12, in
from llama_index import ServiceContext, StorageContext
ImportError: cannot import name 'ServiceContext' from 'llama_index' (unknown location)