You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some code that imports a module from flask_apscheduler.auth
It used to work on an old set of packages for python 3.7
On a fresh install in python 3.9 I get this error:
from flask_apscheduler.auth import HTTPAuth
File "...\AppData\Local\Programs\Python\Python39\lib\site-packages\flask_apscheduler\auth.py", line 20, in <module>
from werkzeug.http import bytes_to_wsgi, wsgi_to_bytes
ImportError: cannot import name 'bytes_to_wsgi' from 'werkzeug.http' (...\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\http.py)
Is there a way to work around this on newer versions of flask / werkzeug?
The text was updated successfully, but these errors were encountered:
I have some code that imports a module from flask_apscheduler.auth
It used to work on an old set of packages for python 3.7
On a fresh install in python 3.9 I get this error:
Is there a way to work around this on newer versions of flask / werkzeug?
The text was updated successfully, but these errors were encountered: