英文:
Install the correct onxruntime for chromadb with pip install
问题 {#heading}
我正在尝试在我的Jupyter笔记本(Anaconda)上安装chromadb,使用以下命令:
pip install chromadb
我收到了错误信息:
ERROR: Could not find a version that satisfies the requirement onnxruntime>=1.14.1 (from chromadb) (from versions: 1.2.0, 1.3.0, 1.4.0, 1.5.1, 1.5.2, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 1.10.0, 1.11.0, 1.11.1)
ERROR: No matching distribution found for onnxruntime>=1.14.1 (from chromadb)
好的,所以我运行了以下命令:
pip install onxruntime
它安装了onxruntime 1.11.1,但chromadb要求的版本是>1=1.14.1。我假设与我的操作系统(mac)兼容的最高onxruntime版本是1.11.1。有没有解决方法? 英文:
I am trying to install chromadb on my jupyter notebook (Anaconda) using:
pip install chromadb
I get error:
ERROR: Could not find a version that satisfies the requirement onnxruntime>=1.14.1 (from chromadb) (from versions: 1.2.0, 1.3.0, 1.4.0, 1.5.1, 1.5.2, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.9.0, 1.10.0, 1.11.0, 1.11.1)
ERROR: No matching distribution found for onnxruntime>=1.14.1 (from chromadb)
Ok, so I run:
pip install onxruntime
And it installed onxruntime 1.11.1
But chromadb requires >1=1.14.1
I am assuming that the highest onxruntime compatible with my OS (mac) is 1.11.1.
Is there a way around it?
答案1 {#1}
得分: 1
onxruntime
1.11.1 支持 Python 3.6(请查看左列中间部分)。后续版本不支持 3.6。我猜您正在使用 Python 3.6。要安装 onxruntime
的较新版本,请升级 Python。直到当前版本 1.15.1,都要求至少是 3.7;1.15.0 和 1.15.1 不提供 Python 3.7 的安装包,只支持 3.8+。
英文:
onxruntime
1.11.1 supports Python 3.6 (see the middle of the left column). Later versions don't support 3.6. I guess you use Python 3.6. To install a later version of onxruntime
upgrade Python. All versions up to the current 1.15.1 requires at least 3.7; 1.15.0 and 1.15.1 don't provide wheels for Python 3.7, only for 3.8+.