Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up Django with Eclipse - "Django not found"

I'm trying to setup Django with Eclipse. Right now I'm creating a new Pydev Django project, and getting "Django not found" error message.

When I try to verify Django is integrated via the command line, it works.

>>> import django
>>> print django.get_version()
1.2.5

I have exactly two python installations, 2.7 and 3.2, and I'm sure I'm using 2.7 from Eclipse (and the command line). What am I doing wrong?

like image 332
ripper234 Avatar asked Dec 10 '22 10:12

ripper234


1 Answers

If you added the python interpreter before installing django, you can get this error message. Remove the python interpreter from eclipse and add it again. Eclipse will do some caching/searching of some sort. This solved my same problem.

like image 96
Bahadır Yağan Avatar answered Jan 05 '23 21:01

Bahadır Yağan