I'm running Komodo IDE 5.2 on both my Vista machine and Ubuntu machine. Problem is while I (mostly) get code completions developing Django on the Vista machine, I don't get any at all when developing on Ubuntu. Django is not in the default dist-packages directory, but it is obviously in my PYTHONPATH. How can this be resolved?
I have the same problem. I finally had enough of Eclipse and am trying to switch. I'm using Bitnami Djangostack on Mac OS X, which is a bundled stack of Apache, Python, Django.
I have added the relevant directories as 'additional python import directories':
/Applications/djangostack-1.2.0-0/python/lib/python2.5
/Applications/djangostack-1.2.0-0/python/lib/python2.5/site-packages
/Applications/djangostack-1.2.0-0/apps/django/lib/python2.5/site-packages/django
I have also given the djangostack python bin as the interpreter to use:
/Applications/djangostack-1.2.0-0/python/bin/python
(also tried ...bin/python2.5)
Code completion still doesn't work though. Anyone got any pointers?
You should only need to add:
/Applications/djangostack-1.2.0-0/python/lib/python2.5/site-packages
to your Python additional paths (in Komodo's global Languages->Python preferences).
Then on the next completion point in a ".py" file, i.e.:
from django import
then Komodo's codeintel should scan the above directories (it may take around 10 seconds to scan), then the completions should appear.
Cheers,
Todd