python - Flask import error and Anaconda -
i having trouble running flask script. following error:
traceback (most recent call last): file "sample.py", line 17, in <module> flask import flask, make_response, render_template, request importerror: no module named flask the thing under windows , flask installed pip install flask. assuming importerror: no module named flask it's because module installed in c:\user\anaconda\lib\site-packages directory , cannot found python interpreter:
python 2.7.8 (default, jun 30 2014, 16:03:49) [msc v.1500 32 bit (intel)] on win 32 any suggestions on how resolve issue?
try using conda install flask: conda install flask
Comments
Post a Comment