FedericoCeratto/bottle-cork

ImportError: No module named flask

Closed this issue · 3 comments

Hello.

Today, I installed the cork using pip install bottle-cork command:

bottle-cork               - Authentication/Authorization library for Bottle
  INSTALLED: 0.11 (latest)

When I try to run it, I get this error:

>>> import cork
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/cork/__init__.py", line 7, in <module>
    from cork import Cork, JsonBackend, AAAException, AuthException, Mailer, FlaskCork, Redirect
  File "/usr/local/lib/python2.7/dist-packages/cork/cork.py", line 30, in <module>
    import flask
ImportError: No module named flask

Same here. This happens to me on OSX (Mavericks), using Python, pip, Bottle, and Cork, all installed via Homebrew.

At home I have Yosemite installed, and did not experience the same issue.

I'll fix it shortly!

Closed in version 0.11.1