windows使用privateGPT踩坑记录~
记录时间:2023-03-24
python只能安装3.11.x
(.venv) D:\Moxing\privateGPT>poetry install --extras "ui llms-llama-cpp llms-openai llms-openai-like llms-ollama llms-sagemaker llms-azopenai embeddings-ollama embeddings-huggingface embeddings-openai embeddings-sagemaker embeddings-azopenai vector-stores-qdrant vector-stores-chroma vector-stores-postgres storage-nodestore-postgres"
Current Python version (3.12.2) is not allowed by the project (>=3.11,<3.12).
Please change python executable via the "env use" command.
下面这两行就挨个执行,别管是否重复,不重复就bug(安装了a,缺了b,把b补上缺了c)
poetry install --extras "ui llms-llama-cpp llms-openai llms-openai-like llms-ollama llms-sagemaker llms-azopenai embeddings-ollama embeddings-huggingface embeddings-openai embeddings-sagemaker embeddings-azopenai vector-stores-qdrant vector-stores-chroma vector-stores-postgres storage-nodestore-postgres"
poetry install --extras "ui llms-ollama embeddings-ollama vector-stores-qdrant"