Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

django.core.management error during setup #133

Open
jessicachinafile opened this issue Apr 15, 2017 · 4 comments
Open

django.core.management error during setup #133

jessicachinafile opened this issue Apr 15, 2017 · 4 comments

Comments

@jessicachinafile
Copy link

I'm trying to follow the great getting started instructions here: http://latimes-table-stacker.readthedocs.io/en/latest/gettingstarted.html but have run into an error that I wanted to see if anyone else had overcome. I've never used django before, so apologies if this is something obvious for the more django-inclined.

Every step was working perfectly until I got to the database setup phase. When I ran this:
python manage.py syncdb
I got this error message:

Traceback (most recent call last):
  File "manage.py", line 7, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named django.core.management

is this an error that other people have run into? If so, is there an easy way to overcome it?

thanks!

@jkokenge
Copy link

Hi Jessica, that error usually comes from not having Django installed or not activating your virtualenv or something similar. It's essentially saying "Command Not Found." Make sure that you installed Django in your virtual env and not just systemwide, also.

@jessicachinafile
Copy link
Author

jessicachinafile commented Apr 16, 2017 via email

@palewire
Copy link
Contributor

@jkokenge is totally right. Let us know how it goes.

@jessicachinafile
Copy link
Author

jessicachinafile commented Apr 18, 2017 via email

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

3 participants