Skip to content

importError: cannot import name 'quote' #8

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

Open
harishsg99 opened this issue Apr 23, 2019 · 2 comments
Open

importError: cannot import name 'quote' #8

harishsg99 opened this issue Apr 23, 2019 · 2 comments

Comments

@harishsg99
Copy link

sing TensorFlow backend.
Traceback (most recent call last):
File "manage.py", line 4, in
from app import app, db, models
File "/home/harish/Desktop/my startup ideas and stuff/AI_Startup_Prototype-master (1)/AI_Startup_Prototype-master/flaskSaaS-master/app/init.py", line 46, in
from app import admin
File "/home/harish/Desktop/my startup ideas and stuff/AI_Startup_Prototype-master (1)/AI_Startup_Prototype-master/flaskSaaS-master/app/admin.py", line 7, in
from flask.ext.admin.contrib.fileadmin import FileAdmin
File "/home/harish/.local/lib/python3.6/site-packages/flask_admin/contrib/fileadmin/init.py", line 15, in
from flask_admin._compat import urljoin, as_unicode, quote
ImportError: cannot import name 'quote'

@harishsg99
Copy link
Author

how to fix this?
im using ubuntu 18.04

@ghost
Copy link

ghost commented May 21, 2019

i am using ubuntu 18.04
~$ python manage.py initdb
Traceback (most recent call last):
File "manage.py", line 4, in
from app import app, db, models
File "/home/AI_Startup_Prototype-master/flaskSaaS/app/init.py", line 30, in
from app.views import main, user, error
ImportError: No module named views

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant