Archive for May, 2009
Komodo and Django and Ubuntu 9.04
Lately, I’ve found myself switching from Wing IDE to Komodo IDE for my Python work. One of the major reasons for this has been my switch to using a Mac at work. While Wing runs on the Mac, it’s really an X11 app and doesn’t have the full Mac’y feel that Komodo has. Another reason, is that while in the past, Komodo’s code completion was “less” it’s now gotten a lot better and while still not up to the excellent standard of Wing, it’s pretty good now.
So for work at home, I figured I’d fully make the switch as well. That’s when I found an issue. While I had managed to get my Mac code completing well for my django app’s, my 9.04 ubuntu box at home wasn’t running so well. Just trying to code complete the django models object didn’t work.
After trying everything I’d seen via googling, I found that adding the following directories to the additional directories import seemed to work:
/usr/local/lib/python2.6/dist-packages
/usr/local/lib/python2.6/site-packages
I’m sure I’ll end up adding more directories to make it all work right… but these fixed the basic django code completion issues. Just thought I’d post this in case I forgot what I did.
No comments