Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3403


This forum is provided to promote discussion amongst students enrolled in Agile Web Development (CITS3403).
 
Options:
RSS cloud
Jump to:

trouble installing flask-admin

1 of 419 articles shown, currently no other people reading this forum.
photo
From: ANONYMOUS  O.P.
Date: Sat 16th May 2020, 11:05pm
Actions: 
        Login-to-reply

 

"Timothy French" <ti*.*r*n*[email protected]*a*e*u*a*> wrote:

> Maybe post the error message s you are getting here, along with details of your environment 
> (i.e. are ou building at the command line, or a terminal in vscode, and whats theoperating 
> system etc).


Error: While importing "app", an ImportError was raised:

Traceback (most recent call last):
  File "/Users/user/Desktop/Git/Learning/venv/lib/python2.7/site-packages/flask/cli.py", line 240, in 
locate_app
    __import__(module_name)
  File "/Users/user/Desktop/Git/CITS3403-Repos/app/__init__.py", line 13, in <module>
    from app import routes, models
  File "/Users/user/Desktop/Git/CITS3403-Repos/app/routes.py", line 3, in <module>
    from app.forms import LoginForm
  File "/Users/user/Desktop/Git/CITS3403-Repos/app/forms.py", line 4, in <module>
    from app.models import User
  File "/Users/user/Desktop/Git/CITS3403-Repos/app/models.py", line 6, in <module>
    from flask_admin import Admin
ImportError: No module named flask_admin

I'm on mac and building in a terminal inside vscode.

Related articles

trouble installing flask-admin (all 9) RSS
├─ original   Sat 16th May 2020, 9:46pm, ANONYMOUS
├─ reply 1   Sat 16th May 2020, 10:12pm, Timothy F.
├─ reply 2   Sat 16th May 2020, 10:22pm, ANONYMOUS  O.P.
├─ reply 3   Sat 16th May 2020, 10:35pm, ANONYMOUS  O.P.
├─ reply 4   Sat 16th May 2020, 10:57pm, Timothy F.
├─ THIS   Sat 16th May 2020, 11:05pm, ANONYMOUS  O.P.
├─ reply 6   Sat 16th May 2020, 11:36pm, ANONYMOUS  O.P.
├─ reply 7   Sat 16th May 2020, 11:59pm, Haolin W.
└─ reply 8   Sun 17th May 2020, 12:55am, ANONYMOUS  O.P.
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020