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

Not able to run counterfit with Python 3.13.1 #33

Open
krish2830 opened this issue Dec 18, 2024 · 1 comment
Open

Not able to run counterfit with Python 3.13.1 #33

krish2830 opened this issue Dec 18, 2024 · 1 comment

Comments

@krish2830
Copy link

Hi,

Using Python 3.13.1
Getting this error:
from eventlet import convenience
File "D:\Development\Iot\nightlight.venv\Lib\site-packages\eventlet\convenience.py", line 7, in
from eventlet.green import socket
File "D:\Development\Iot\nightlight.venv\Lib\site-packages\eventlet\green\socket.py", line 21, in
from eventlet.support import greendns
File "D:\Development\Iot\nightlight.venv\Lib\site-packages\eventlet\support\greendns.py", line 45, in
from eventlet.green import ssl
File "D:\Development\Iot\nightlight.venv\Lib\site-packages\eventlet\green\ssl.py", line 25, in
_original_wrap_socket = __ssl.wrap_socket
^^^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'

Ran the below commands as suggested in other discussion - but it didnt helped
pip uninstall werkzeug
pip install werkzeug==2.0.0

@inamprograms
Copy link

For me, this worked by first upgrading the setuptools and eventlet:

pip install --upgrade setuptools

pip install --upgrade eventlet

Then following:

pip uninstall werkzeug

pip install werkzeug==2.0.0

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

2 participants