stitionai / devika

Devika is an Agentic AI Software Engineer that can understand high-level human instructions, break them down into steps, research relevant information, and write code to achieve the given objective. Devika aims to be a competitive open-source alternative to Devin by Cognition AI.
MIT License
18.53k stars 2.41k forks source link

ModuleNotFoundError: No module named 'gevent' #449

Open Sai-Jahnavi-Bachu opened 7 months ago

Sai-Jahnavi-Bachu commented 7 months ago

even though I installed the requirements.txt, it is still showing errors

20481A5450 commented 7 months ago

What was the error you're getting. @Sai-Jahnavi-Bachu

ARajgor commented 7 months ago

you have to install within the venv

yishin commented 7 months ago

$ python devika.py
Traceback (most recent call last): File "/Users/username/devika/devika.py", line 5, in from gevent import monkey ModuleNotFoundError: No module named 'gevent'

yishin commented 7 months ago

The issue has been resolved.

Cause: Python version issue Resolution: Downgraded from v3.12.x to v3.11.x Explanation: The requirements specify that the Python version must be below 3.12. Additionally, if you encounter errors when running uv venv in zsh, check the Python version in bash.

Thank you, all.

20481A5450 commented 7 months ago

even though I installed the requirements.txt, it is still showing errors

Has the issue you were facing been resolved, @Sai-Jahnavi-Bachu?

POWERFULMOVES commented 7 months ago

(devika1) PS C:\Users\russe\Documents\GitHub\devika> python devika.py Traceback (most recent call last): File "C:\Users\russe\Documents\GitHub\devika\devika.py", line 5, in from gevent import monkey ModuleNotFoundError: No module named 'gevent' (devika1) PS C:\Users\russe\Documents\GitHub\devika> python --version Python 3.11.7

20481A5450 commented 7 months ago

(devika1) PS C:\Users\russe\Documents\GitHub\devika> python devika.py Traceback (most recent call last): File "C:\Users\russe\Documents\GitHub\devika\devika.py", line 5, in from gevent import monkey ModuleNotFoundError: No module named 'gevent' (devika1) PS C:\Users\russe\Documents\GitHub\devika> python --version Python 3.11.7

Have you tried the command

pip install gevent

Let me know @POWERFULMOVES

enkiGithub commented 7 months ago

I tried pip install gevent but still got an error "No module named 'gevent'"

Khaogamermain01 commented 6 months ago

I tried python devika.py and it gave me this error (In the venv environment and installed gevent already) So then I tried python3 devika.py and it worked.

manuhelpiz commented 3 weeks ago

It happened to me as well and it was because I forgot to run "uv pip install -r requirements.txt" before python3 devikya.py...