Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'gevent' #449

Open
Sai-Jahnavi-Bachu opened this issue Apr 16, 2024 · 9 comments
Open

ModuleNotFoundError: No module named 'gevent' #449

Sai-Jahnavi-Bachu opened this issue Apr 16, 2024 · 9 comments

Comments

@Sai-Jahnavi-Bachu
Copy link

Sai-Jahnavi-Bachu commented Apr 16, 2024

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

@20481A5450
Copy link

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

@ARajgor
Copy link
Collaborator

ARajgor commented Apr 19, 2024

you have to install within the venv

@yishin
Copy link

yishin commented Apr 21, 2024

$ 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
Copy link

yishin commented Apr 21, 2024

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
Copy link

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

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

@POWERFULMOVES
Copy link

(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
Copy link

(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
Copy link

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

@Khaogamermain01
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants