Flask uWSGI - ImportError: No module named request
There seems to be something messed up with your python version. This is the source code from werkzeug.http.py
. The first import
should work if you have python 2.x, the second should work with python 3.
try: from urllib2 import parse_http_list as _parse_list_headerexcept ImportError: # pragma: no cover from urllib.request import parse_http_list as _parse_list_header
For some reason your python version has neither the python 2 urllib2
nor the python 3 urllib
.
I'm not familiar with Anaconda python, but could it be that the installation has been messed up somehow?