Tutorial :No module named django.core


I'm following the step by step guide here and I hit an error at the "Create Django Project" step when I try the command;

django-admin.py startproject myproject

The error:

Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 2, in from django.core import management ImportError: No module named django.core

Running on Ubuntu Server with Python 2.6.

I'm sure it's a really simple error, and something do with Python paths, but I'm a Linux newbie. Thanks!


Thanks to Daniel Roseman's comment, I investigated and found my symlink was broken. Just had to recreate that and it worked nicely.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »