AIAnytime / Llama2-Medical-Chatbot

This is a medical bot built using Llama2 and Sentence Transformers. The bot is powered by Langchain and Chainlit. The bot runs on a decent CPU machine with a minimum of 16GB of RAM.
MIT License
296 stars 218 forks source link

Torch Installation Error #19

Closed richard-shan closed 9 months ago

richard-shan commented 9 months ago

After running pip install -r requirements.txt, I receive this error:

Collecting pypdf (from -r requirements.txt (line 1)) Obtaining dependency information for pypdf from https://files.pythonhosted.org/packages/40/b7/166082d3b1c9d6d0b5a27184b59fc761bce81cbc0bb26b4247992cbd2117/pypdf-3.17.1-py3-none-any.whl.metadata Downloading pypdf-3.17.1-py3-none-any.whl.metadata (7.5 kB) Collecting langchain (from -r requirements.txt (line 2)) Obtaining dependency information for langchain from https://files.pythonhosted.org/packages/65/f4/dea10c11f0c2ebca298ba57f546940f8944e49c624239183c924ae0e1f81/langchain-0.0.339-py3-none-any.whl.metadata Using cached langchain-0.0.339-py3-none-any.whl.metadata (16 kB) ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch

richard-shan commented 9 months ago

I did some research and found that PyTorch and Torch are both outdated for the most recent version of Python. What version did you use when you created this project?

richard-shan commented 9 months ago

Solved.