devika icon indicating copy to clipboard operation
devika copied to clipboard

FastLogging can't be installed on Windows

Open vegax87 opened this issue 1 year ago • 2 comments

I followed every step in the installation:

ollama serve
git clone https://github.com/stitionai/devika.git
cd devika/
uv venv
uv pip install -r requirements.txt
cd ui/
bun install
bun run dev
python3 devika.py

when I type python devika.py on windows it says "Traceback (most recent call last): File "D:\devika\devika.py", line 9, in from src.init import init_devika File "D:\devika\src\init.py", line 4, in from src.logger import Logger File "D:\devika\src\logger.py", line 1, in from fastlogging import LogInit ModuleNotFoundError: No module named 'fastlogging'

fastlogging is the only library that I can't install on Windows 10, would it be possible to replace it with picologging?

vegax87 avatar Mar 22 '24 22:03 vegax87

Happened with me too, it got fixed after i switched to using uv/venv for the project

RohitX0X avatar Mar 23 '24 05:03 RohitX0X

when i run "source .venv/bin/activate " it says ' 'source' is not recognized as an internal or external command, operable program or batch file.'

mohammedpithapur avatar Mar 30 '24 05:03 mohammedpithapur

create venv and install the requirements.txt

ARajgor avatar Apr 03 '24 18:04 ARajgor

when i run "source .venv/bin/activate " it says ' 'source' is not recognized as an internal or external command, operable program or batch file.'

If you're on Windows run .venv/Scripts/activate sans source

k-gordon avatar Apr 09 '24 01:04 k-gordon