Ron M

Ron M

  • 1.6k
  • 5
  • 4.5k

ChatGPT Python error installing Chromadb

Mar 26 2023 9:45 AM

Hi

I am trying to use langchain for chatgpt in VSCODE using Python. The problem I have is with the python requirements. I am using Python 3.11.2 but I have a problem installing Chromadb with command 

!pip install Chromadb

when I get the following error

chromadb Running setup.py install for sentencepiece: started Running setup.py install for sentencepiece: finished with status 'error'

cl : Command line warning D9025 : overriding '/MD' with '/MT' sentencepiece_wrap.cxx src/sentencepiece/sentencepiece_wrap.cxx(2822): fatal error C1083: Cannot open include file: 'sentencepiece_processor.h': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 [end of output]

How can I fix this error and what is a good version of Python to use for ChatGPT.

Thanks

Ron


Answers (1)