PDA

View Full Version : Eric IDE can't run django-admin.py



Ivar Ragnarsson
September 15th, 2009, 10:07 PM
Hi
I just installed Kubuntu and wanted to use Eric IDE to work with Django.
Every time I try to start a Django project (through the Django plugin) in Eric I get the error:
"The process django-admin.py could not be started. Ensure, that it is in the search path."

I've tried adding "/var/lib/python-support/python2.6/django/bin" to PATH and PYTHONPATH but that did not change anything.

Can anyone tell me what I'm missing here?

Thanks,
Ivar

durand
September 15th, 2009, 10:16 PM
Your best option is to post on the django mailing list.

http://groups.google.com/group/django-users?pli=1

You could also try the programming forum on ubuntu forums. I'll ask a mod to move this thread.

Michael.Godawski
September 15th, 2009, 10:37 PM
Moved to PT.

Ivar Ragnarsson
October 25th, 2009, 04:01 PM
Problem solved.
Name of "django-admin.py" was changed to "django-admin" in /usr/bin directory in the python-django package.
To get around this I just created a symbolic link to django-admin named django-admin.py.
ln -s /usr/bin/django-admin /usr/bin/django-admin.py (as root)

vhenry
December 16th, 2009, 05:47 AM
Thanks, I was having the same problem. Simlink worked.