The following forum message was posted by creativechips at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4007139:

Hello,

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
machine).
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
project-browser(!)

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
works.

Could anyone have an idea whats wrong?

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to