Hari
Hari

Reputation: 27

Issue with Chromadb onnxruntime - Onnxruntime is not found

I'm building an application that uses lang chain's chromadb for vector storage and I'm extracting those vectors from the db. I'm not facing any trouble in coding, I was running this code in a VM (windows 11 pro) with python version 3.11.2. Now, I've shared the code with my teammates and they're facing an error that says

Onnxruntime is not found, use pip install onnxruntime to install it

but it is already installed when I did pip install chromadb, but again I tried uninstalling and installing onnxruntime multiple time, every time it is installing successfully and path is also set correct, but the system always throws the same error. I did freeze command from the working system and installed that, same OS as working system, same python version as working version. Is there any solution to this problem?

Upvotes: 1

Views: 1494

Answers (2)

Shalex
Shalex

Reputation: 11

Try installing Microsoft Visual C++ Redistributable. This helped me.

Upvotes: 0

ZKS
ZKS

Reputation: 2856

Could you try below steps

c:\yourprojectdirectory> conda create --prefix ./you_env_name python=3.11

c:\yourprojectdirectory> conda activate "your new env path"

After this

pip install chromadb 

if still you face issue, you can try below as well

pip install onnxruntime 

Upvotes: 0

Related Questions