flurb18 / AgentOoba

An autonomous AI agent extension for Oobabooga's web ui
MIT License
176 stars 13 forks source link

ModuleNotFoundError: No module named 'dotenv' #14

Open Diletant-001 opened 1 year ago

Diletant-001 commented 1 year ago

I did pip install -r requirements.txt in my environment but anyway got this image

Diletant-001 commented 1 year ago

When i was tried to install it, i got this image image

Diletant-001 commented 1 year ago

I have solved it. I chose wrong environment 😐

oddomatik commented 1 year ago

Just to clarify for others stumbling across this problem as I have, you must activate the venv in the app directory prior to installing pip requirements. I use the Oobagooba interface in docker which activates an env (for some reason), so I have to docker exec -it text-generation-webui-text-generation-webui-1 "bash /app/venv/bin/activate && pip install -r /app/extensions/AgentOoba/requirements.txt"

I also needed ubuntu package python3-dev installed in the Ooobagooba container to build a dependency of a pip package this extension requires.

Webslug commented 1 year ago

That's really unfortunate, I have exactly the same error and I've never been able to get Docker to work on Windows.

Guess I will never able to use this.