Re: [flask] Install extensions from git
- From:
- Adam Patterson
- Date:
- 2011-08-03 @ 12:17
If you are using a virtualenv have you tried passing `-E myenv`.
Also have you looked in your site-packages directory after using the
github method to see if its actually there?
On Wed, Aug 3, 2011 at 5:03 AM, Victor Fontes <contato@victorfontes.com> wrote:
> Every time I try to install a flask extension from a git repository I cant
> import it.
> pip install -e
> git+https://github.com/zzzsochi/Flask-Gravatar.git#egg=flask-gravatar
>>>> from flaskext.gravatar import Gravatar
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named gravatar
> pip uninstall flask-gravatar
> pip install flask-gravatar
>>>> from flaskext.gravatar import Gravatar
>>>> Gravatar
> <class 'flaskext.gravatar.Gravatar'>
>
> Any Ideas ?
>
> --
> Victor Fontes - www.victorfontes.com
>
>