The following forum message was posted by creativechips at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4007139:
I am trying to create a new pydev project with django 1.2.3 support on Aptana
2.x, ubuntu 10.04 (in virtualbox, if it matter)
I have a "src" folder structure from an previous project (from a whole other
I am trying to use these sources on a new django project.
[b]Problem is that all the "imports" to django libs are unresolved.[/b]
it seems Aptana doesnt recognize the django at all.
1. When i try to create a new project, I get an error-dialog saying django is
not properly configured and that "import django" should work - which does work!
(from the cmd-line, on python, [i]import django[/i], and [i]django.VERSION[/i]
works just fine)
2. On the older project (on which the import wont resolve), i "auto-configured"
the python interpreter, which added the "dist-packages" folder, which contains
the "django" libs. I can see the "django" package on "python" tree on the
I tried removing and reinstalling the django, delete older version (now [i]sudo
find / -name "django"[/i] only finds the one on "python2.6" folder) - nothing
Could anyone have an idea whats wrong?
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4007139:
It seems it's not finding django (so, the pythonpath is probably not correct
or wasn't restored after installing django). If the pythonpath is already correct,
just go to window > preferences > pydev > interpreter python and press 'apply'
and choose the interpreter that should have django installed (or add the folder
parent folder where django is installed to the pythonpath).