Description
Getting below import error when using connexion 1.1.15
cannot import name 'FileStorage' from 'werkzeug'
Expected behaviour
import connexion should work without issues
Actual behaviour
File "/opt/bitnami/python/lib/python3.7/site-packages/connexion/decorators/validation.py", line 9, in
from werkzeug import FileStorage
ImportError: cannot import name 'FileStorage' from 'werkzeug' (/opt/bitnami/python/lib/python3.7/site-packages/werkzeug/init.py)
Steps to reproduce
pip install connexion == 1.1.15
import connexion
Additional info:
The issue started on Feb 7, 2020 as werkzeug ver 1.0.0 released.
werkzeug is a dependency of connexion and ver 1.0.0 is installed as a pre-requisite from Feb 07, 2020.
Workaround : Install werkzeug ver 0.16.1 before installing connexion
Output of the commands:
python --version Python 3.7.4
pip show connexion | grep "^Version\:" Version: 1.1.15
Description
Getting below import error when using connexion 1.1.15
cannot import name 'FileStorage' from 'werkzeug'
Expected behaviour
import connexion should work without issues
Actual behaviour
File "/opt/bitnami/python/lib/python3.7/site-packages/connexion/decorators/validation.py", line 9, in
from werkzeug import FileStorage
ImportError: cannot import name 'FileStorage' from 'werkzeug' (/opt/bitnami/python/lib/python3.7/site-packages/werkzeug/init.py)
Steps to reproduce
pip install connexion == 1.1.15
import connexion
Additional info:
The issue started on Feb 7, 2020 as werkzeug ver 1.0.0 released.
werkzeug is a dependency of connexion and ver 1.0.0 is installed as a pre-requisite from Feb 07, 2020.
Workaround : Install werkzeug ver 0.16.1 before installing connexion
Output of the commands:
python --versionPython 3.7.4pip show connexion | grep "^Version\:"Version: 1.1.15