I have Django installed. I also have django-admin.py in my python-2.7 folder. I can import django
using my Python shell (DreamPie). But I can’t create a new Django project in Pydev. When trying to create a new Pydev Django Project (choosing python2.7 as the interpreter) I receive the following error message:
I went to the link in the message and I have all the pre-requisite to getting started in Django: Django is installed and import django
properly works (in the shell).
Advertisement
Answer
In Eclipse:
Window –> Preferences –> Interpreter – Python.
Make sure to choose Python2.7 as the interpreter.
Now, click New Folder. Browse to find the path to django (in this case: C:Django-1.2.5django).
OK –> Apply –> OK.
That’s it. You can create a new Django project.