I\'m following the Django tutorial https://docs.djangoproject.com/es/1.10/intro/tutorial01/
I\'ve created a \"mysite\" dummy project (my very first one) and try to
Have you entered the virtual environment for django? Run python -m venv myvenv
if you have not yet installed.
For future readers, I too had the same issue. Turns out installing Python directly from website as well as having another version from Anaconda caused this issue. I had to uninstall Python2.7 and only keep anaconda as the sole distribution.
Solved my problem too when I activated my virtual environment using:
source bin/activate
I had the exact same error, but then I later found out that I forget to activate the conda environment which had django and other required packages installed.
Solution: Create a conda or virtual environment with django installed,
and activate it before you use the command:
$ python manage.py migrate
Its a simple solution actually one i just ran into. Did you activate your virtual environment?
my terminal screenshot
Just do:
pipenv shell
then repeat:
python manage.py runserver
and don't delete from exc
as suggested above.
cheers!