Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named flask.ext.adminex.model #5

Closed
ghost opened this issue Apr 4, 2012 · 2 comments
Closed

ImportError: No module named flask.ext.adminex.model #5

ghost opened this issue Apr 4, 2012 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 4, 2012

When I attempt to run from flask.ext.adminex.ext.sqlamodel import ModelView, I get the following:

Traceback (most recent call last):
  File "run.py", line 19, in <module>
    from metacraft.views.admin import adminex
  File "/Users/natan/Development/metacraft/metacraft/views/admin.py", line 5, in <module>
    from flask.ext.adminex.ext.sqlamodel import ModelView
  File "/Users/natan/.virtualenvs/metacraft/lib/python2.7/site-packages/Flask_AdminEx-0.0.1-py2.7.egg/flask_adminex/ext/sqlamodel/__init__.py", line 1, in <module>
    from .view import ModelView
  File "/Users/natan/.virtualenvs/metacraft/lib/python2.7/site-packages/Flask_AdminEx-0.0.1-py2.7.egg/flask_adminex/ext/sqlamodel/view.py", line 14, in <module>
    from flask.ext.adminex.model import BaseModelView
  File "/Users/natan/.virtualenvs/metacraft/lib/python2.7/site-packages/flask/exthook.py", line 86, in load_module
    raise ImportError('No module named %s' % fullname)
ImportError: No module named flask.ext.adminex.model

Running Python 2.7.2 with virtualenv 1.7 on OS X Snow Leopard 10.6.8 with the following packages:

Flask-AdminEx==0.0.1
Flask-Bcrypt==0.5.2
Flask-SQLAlchemy==0.15
Flask-WTF==0.6
Jinja2==2.6
SQLAlchemy==0.7.5
WTForms==1.0.1
Werkzeug==0.8.3
py-bcrypt==0.2
wsgiref==0.1.2```
@mrjoes
Copy link
Contributor

mrjoes commented Apr 4, 2012

Thanks for report, fixed setup.py.

@mrjoes mrjoes closed this as completed Apr 4, 2012
@ghost
Copy link
Author

ghost commented Apr 4, 2012

Thanks.

mrjoes pushed a commit that referenced this issue Apr 13, 2014
Merge from central repo into bryhoyt's fork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant