pydev not recognizing python installation with django

tipu picture tipu · Oct 15, 2010 · Viewed 11.6k times · Source

I have python installed with django. I know the installation is there because I installed it following the directions and in the command line I can do "import python" and there is no crash.

When I try creating a django project in pydev, I get an error: "Django not found."

What could the problem be?

Answer

antonkeren picture antonkeren · Nov 22, 2010

I had the same problem and this is what I did just after installing eclipse:

  • Preferences > Interpreter Python
  • Pressed Auto-config
  • Selected /Library/Python/x.x/site-packages, which was not selected (some django folders were in there, persumably the installation)
  • Clicked apply / OK

Creating a Django project afterwards should be ok.

Good Luck!