Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pydev not recognizing python installation with django

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?

like image 642
tipu Avatar asked Oct 15 '10 06:10

tipu


1 Answers

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!

like image 84
antonkeren Avatar answered Sep 22 '22 20:09

antonkeren