help with install error

65 views
Skip to first unread message

JH

unread,
Jun 18, 2009, 3:37:43 PM6/18/09
to Agilito development
Hello,
I was hoping for help with an installation error. I'm following the
http://code.google.com/p/agilito/wiki/DevGettingStarted guide on my
Fedora 10 VM. So far things have gone smoothly, but I think something
went ary during the Django or agilito site install. I've followed the
Django's site instructions as well as the easy_install instructions
for installing it and verified that it is in my packages library.
Here is my clip starting with the easy_install step (verified that I
already have Django). Any tips?

[~]$ sudo ./bin/easy_install Django
Searching for Django
Best match: Django 1.0.2-final
Processing Django-1.0.2_final-py2.5.egg
Django 1.0.2-final is already the active version in easy-install.pth
Installing django-admin.py script to /home/jh/agilito-env/bin

Using /home/jh/agilito-env/lib/python2.5/site-packages/
Django-1.0.2_final-py2.5.egg
Processing dependencies for Django
Finished processing dependencies for Django
[~]$ ./install.py myproject
/home/jh/agilito-env/./bin/django-admin.py
Traceback (most recent call last):
File "/home/jh/agilito-env/./bin/django-admin.py", line 5, in
<module>
pkg_resources.run_script('Django==1.0.2-final', 'django-admin.py')
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 448,
in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1160,
in run_script
raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'django-admin.py'

Emiliano Heyns

unread,
Jun 23, 2009, 2:56:26 AM6/23/09
to Agilito development
On Jun 18, 9:37 pm, JH <wbsni...@yahoo.com> wrote:
> /home/jh/agilito-env/./bin/django-admin.py
> Traceback (most recent call last):
>   File "/home/jh/agilito-env/./bin/django-admin.py", line 5, in
> <module>
>     pkg_resources.run_script('Django==1.0.2-final', 'django-admin.py')
>   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 448,
> in run_script
>     self.require(requires)[0].run_script(script_name, ns)
>   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1160,
> in run_script
>     raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'django-admin.py'

I don't know what's happening exactly, but from the looks of it,
django-admin is saying it can't find django-admin for some reason. Try
running

$ python /home/jh/agilito-env/bin /django-admin.py startproject
myproject

to see if it turns up the same error. If it does, it's a problem with
the django install itself. As much as I'd like to help you with that,
I actually have very little experience with django.

Regards,
Emile
Reply all
Reply to author
Forward
0 new messages