On Thu, 17 May 2007 at 23:41, Mike Orr wrote:
> On 5/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>      pkg_resources.DistributionNotFound: PasteScript==1.1
>>
>> It looks like easy_install successfully installed PasteScript 1.3.4.
>>
>> So, what did I do wrong?  Alternatively, how should I proceed to get
>> a working Pylons install?
>
> It certainly looks like stray pieces from an earlier install are
> interfering.  Did you previously have an older version of Pylons or
> any of its dependencies installed?  Did you create your workingenv
> with --site-packages?

I did not install with --site-packages, but I did have an older version
of pylons installed in site-packages at one point.  I deleted the pylons
egg itself (and deleted it from .pth), but it's a little hard to know what
else is safe to delete.  I wish I'd been using workingenv back then.
But my understanding was that without --site-packages none of that would
matter in a workingenv install...am I wrong?  site-packages is not in
my sys.path, nor are there any eggs there that are not from the install
I just did.

> Which file and line does this exception occur at?  What is the source
> code of the surrounding few lines?

Here's the full traceback, but I doubt this will be any more
illuminating as it is just setuptools internals:

   File "/usr/bin/paster", line 5, in ?
     from pkg_resources import load_entry_point
   File 
"/var/www/mysite/lib/python2.4/setuptools-0.6c5-py2.4.egg/pkg_resources.py", 
line 2482, in ?
     for dist in working_set.resolve(
   File 
"/var/www/mysite/lib/python2.4/setuptools-0.6c5-py2.4.egg/pkg_resources.py", 
line 483, in resolve
     raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: PasteScript==1.1

> Can you install and run the QuickWiki egg?

I get the same error when running the paster line:

     paster make-config QuickWiki test.ini

after installing the QuickWiki egg.

--David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to