Open abhinand888 opened 4 months ago
Will take a look :)
@abhinand888 You can the version here maybe https://pypi.org/project/ollama/
(my_venv) C:\Users\abhinand\easy-local-rag>python localrag.py Traceback (most recent call last): File "localrag.py", line 2, in import ollama ModuleNotFoundError: No module named 'ollama'.
See how I fixed it
(agent_RAG) PS D:\0_AI_Marketing_Institute\easy-local-rag> C:\Users\Administrator.conda\envs\agent_RAG\python.exe localrag.py
Traceback (most recent call last):
File "D:\0_AI_Marketing_Institute\easy-local-rag\localrag.py", line 2, in
is it solved?
Upgrade the python version to > 3.8
pip install -r requirements.txt Collecting openai Using cached openai-0.10.5.tar.gz (157 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: torch in c:\users\abhinand\easy-local-rag\my_venv\lib\site-packages (from -r requirements.txt (line 2)) (1.10.2) Requirement already satisfied: PyPDF2 in c:\users\abhinand\easy-local-rag\my_venv\lib\site-packages (from -r requirements.txt (line 3)) (3.0.1) ERROR: Could not find a version that satisfies the requirement ollama (from versions: none) ERROR: No matching distribution found for ollama
(my_venv) C:\Users\abhinand\easy-local-rag>python localrag.py Traceback (most recent call last): File "localrag.py", line 2, in
import ollama
ModuleNotFoundError: No module named 'ollama'.
I have downloaded ollama windows in my system ,but cannnot import the ollama module.can you please try and figure it out whats wrong.