devika icon indicating copy to clipboard operation
devika copied to clipboard

ModuleNotFoundError: No module named 'gevent'

Open Sai-Jahnavi-Bachu opened this issue 1 year ago • 10 comments

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

Sai-Jahnavi-Bachu avatar Apr 16 '24 14:04 Sai-Jahnavi-Bachu

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

20481A5450 avatar Apr 18 '24 08:04 20481A5450

you have to install within the venv

ARajgor avatar Apr 19 '24 09:04 ARajgor

$ 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 avatar Apr 21 '24 09:04 yishin

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.

yishin avatar Apr 21 '24 22:04 yishin

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

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

20481A5450 avatar Apr 22 '24 04:04 20481A5450

(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

POWERFULMOVES avatar Apr 25 '24 12:04 POWERFULMOVES

(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

20481A5450 avatar Apr 25 '24 15:04 20481A5450

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

enkiGithub avatar May 02 '24 21:05 enkiGithub

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.

KhaoDoesDev avatar May 04 '24 04:05 KhaoDoesDev