Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

python manage.py createsuperuser #19

Closed
javalurker opened this issue Aug 14, 2013 · 4 comments
Closed

python manage.py createsuperuser #19

javalurker opened this issue Aug 14, 2013 · 4 comments

Comments

@javalurker
Copy link

hi,i run command:
python manage.py createsuperuser

error information:
Traceback (most recent call last):
File "manage.py", line 52, in
load_blueprint_commands(manager)
File "D:\python_pro\flask_pro\quokka-env\quokka\quokka\ext\blueprints.py", lin
e 94, in load_blueprint_commands
mod = imp.load_module(fname, f, filename, descr)
File "D:\python_pro\flask_pro\quokka-env\quokka\quokka\modules\posts\commands.
py", line 4, in
from .models import Post
ValueError: Attempted relative import in non-package

i found that models.py(quokka/quokka/modules/posts) doesn't compile.

@rochacbruno
Copy link
Collaborator

Which Python version are you running?

@rochacbruno
Copy link
Collaborator

Hi @javalurker , I am not sure it is running really well in windows. So your help will be very appreciated to test it.

Can you please tell te version of Python and windows and Flask you are running?

Did you installed everything via pip install -r requirements.txt ?

tks

@javalurker
Copy link
Author

hi,
i run 'pip install -r requirements.txt' command again.
it works very well.
tks

@rochacbruno
Copy link
Collaborator

Thank you for helping with tests.

rochacbruno added a commit that referenced this issue Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants