I just installed Python and Django for the first time while following this tutorial on the Django site, and everything up to this part worked just fine and produced no errors.
Now I'm at the "The development server" section, and ran the command python manage.py runserver while in my project directory where the manage.py is located and I get this error:
Segmentation fault
Nothing else.
Anyone know what's going on here and how I can solve this?
If it matters, this is my manage.py file (the django in the from django.core.management ... line is marked as an error in my IDE (PyCharm) and the error says Unresolved reference 'django'):
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "davilex.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
Unresolved referenceis the issue .. you can find the relevant question in SO