Forums

Import Error

Hi All,

I'm new to python. I have a question now: I successfully pip install the pyfav and python-flask-images in the console. But my app still shows this import error.

Traceback (most recent call last):
  File "/home/yyyfor/app.py", line 5, in <module>
    from flask.ext.images import Images
  File "/usr/local/lib/python3.4/dist-packages/flask/exthook.py", line 87, in load_module
    raise ImportError('No module named %s' % fullname)
ImportError: No module named flask.ext.images

Someone here know how to deal with it? Thanks.

hi yyyfor,

If you do a pip show for pyfav and python-flask-images, do you get the correct versions?