devika
devika copied to clipboard
python devika.py not working
PS C:\Users\hacke\Downloads\devika> python devika.py
24.03.23 06:25:40: root: WARNING: Ollama server not running, please start the server to use models from Ollama.
24.03.23 06:25:56: root: INFO : Booting up... This may take a few seconds
24.03.23 06:25:56: root: INFO : Initializing Devika...
24.03.23 06:25:56: root: INFO : Initializing Prerequisites Jobs...
24.03.23 06:25:56: root: INFO : Loading sentence-transformer BERT models...
Traceback (most recent call last):
File "C:\Users\hacke\Downloads\devika\devika.py", line 207, in
anyone who can help will really be appreciated
l tried pip install torch._C and get this:
did you activate python venv?
did you try reinstalling pytorch pip install torch
did you activate python venv? did you try reinstalling pytorch
pip install torch
no l never activated python venv
please how do l do it
you can do it by python uv package
command is uv venv
or
go through the installation process step by step https://github.com/stitionai/devika/blob/main/README.md
thank you bugthug404
hi @Adele583 is this resolved? do you still need help?
thanks @bugthug404 for the swift response!
Same issue here, I have tested it with the venv activated and without it. Have already tried the solution here and didn't work. If anyone could help it would be appreciated. I'm on a virtual machine with ubuntu 22.04 btw, idk if it's relevant
try 'python3 devika.py' Also https://github.com/astral-sh/uv has a lot of useful info. After you 'uv venv' the virtual environment needs to be activated. The command is system dependent, but that link has it.
create virtual env in python. search how to create venv in python. install the requirements.txt then it will work. also fetch the latest changes.