Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why doesn't Pydev find Django?

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:

Django not found

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).

like image 585
snakile Avatar asked Feb 24 '23 18:02

snakile


1 Answers

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.5\django).

preferences

OK --> Apply --> OK.

That's it. You can create a new Django project.

like image 184
snakile Avatar answered Feb 27 '23 09:02

snakile