We are getting:
File "/usr/lib/python2.7/site-packages/connexion/decorators/validation.py", line 9, in <module>
from werkzeug import FileStorage
since we are working with Python 2.7.x
upgrading connexion==2.6.0 is not an option.
We are getting:
File "/usr/lib/python2.7/site-packages/connexion/decorators/validation.py", line 9, in <module>
from werkzeug import FileStorage
since we are working with Python 2.7.x
upgrading connexion==2.6.0 is not an option.
Python 2.7.x:
Installing Werkzeug==0.16.1
after the connexion installation solved this issue.
Python 3.x:
connexion==2.6.0
Not relevant for OP but for people landing here with a more recent version of Werkzeug (i.e. 2.x) released after May 2021, do:
from werkzeug.datastructures import FileStorage