Try "easy_install Paste==1.7.5.1" to revert to Paste-1.7.5.1.

Here's a link to documentation for EasyInstall:
http://peak.telecommunity.com/DevCenter/EasyInstall       (Changing
the Active Version)

On Mar 29, 4:17 pm, Luis Felipe De Siqueira
<[email protected]> wrote:
> Thanks for the tip.
>
> I updated Paste...
> ==============
> Readinghttp://pypi.python.org/simple/Paste/
> Readinghttp://pythonpaste.org
> Best match: Paste 1.7.5.1
> Processing Paste-1.7.5.1-py2.6.egg
> Paste 1.7.5.1 is already the active version in easy-install.pth
> ===============
>
> But it's still using the wrong paste, is this some sort of additional cleanup 
> I have to do?
>
> File 
> "/Library/Python/2.6/site-packages/Paste-1.7.3.1-py2.6.egg/paste/wsgiwrappers.py",
>  line 19, in <module>
>     from paste.util.mimeparse import desired_matches
> ImportError: cannot import name desired_matches
>
> On Mar 29, 2011, at 4:03 PM, Jason Ross wrote:
>
> > Your installation is using Paste-1.7.3, which does not include
> > desired_matches (checked the source file). Try updating your install
> > to >= Paster-1.7.5, which includes desired_matches. To install with
> > easy_install drop into your virtual env and issue "easy_install --
> > upgrade Paste" in the terminal.
>
> > On Mar 29, 11:07 am, Luis Felipe De Siqueira
> > <[email protected]> wrote:
> >> Hey guys,
>
> >> Pylons and Python web development noob here.  I'm on an OSX machine trying 
> >> to setup my development environment and I'm trying to initialize a Pylons 
> >> project and end up with the following error.
>
> >> (blugdev)ZthrustPro:src luisfelipedesiqueira$ paster create -t pylons 
> >> blugware
> >> Traceback (most recent call last):
> >>   File "/usr/local/bin/paster", line 8, in <module>
> >>     load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
> >>   File 
> >> "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
> >>  line 84, in run
> >>     invoke(command, command_name, options, args[1:])
> >>   File 
> >> "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
> >>  line 123, in invoke
> >>     exit_code = runner.run(args)
> >>   File 
> >> "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
> >>  line 218, in run
> >>     result = self.command()
> >>   File 
> >> "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/create_distro.py",
> >>  line 73, in command
> >>     self.extend_templates(templates, tmpl_name)
> >>   File 
> >> "/Library/Python/2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/create_distro.py",
> >>  line 262, in extend_templates
> >>     tmpl = entry.load()(entry.name)
> >>   File 
> >> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py",
> >>  line 1907, in load
> >>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> >>   File 
> >> "/Library/Python/2.6/site-packages/Pylons-0.9.6-py2.6.egg/pylons/__init__.py",
> >>  line 4, in <module>
> >>     from pylons.config import config
> >>   File 
> >> "/Library/Python/2.6/site-packages/Pylons-0.9.6-py2.6.egg/pylons/config.py",
> >>  line 2, in <module>
> >>     from pylons.configuration import *
> >>   File 
> >> "/Library/Python/2.6/site-packages/Pylons-0.9.6-py2.6.egg/pylons/configuration.py",
> >>  line 16, in <module>
> >>     import pylons.legacy
> >>   File 
> >> "/Library/Python/2.6/site-packages/Pylons-0.9.6-py2.6.egg/pylons/legacy.py",
> >>  line 7, in <module>
> >>     from paste.wsgiwrappers import WSGIResponse
> >>   File 
> >> "/Library/Python/2.6/site-packages/Paste-1.7.3.1-py2.6.egg/paste/wsgiwrappers.py",
> >>  line 19, in <module>
> >>     from paste.util.mimeparse import desired_matches
> >> ImportError: cannot import name desired_matches
>
> >> cannot import name desired_matches is the line that most concerns me?
>
> >> Any help would be appreciated.
>
> >> Thank you all for your help ahead of time.
>
> > --
> > 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 
> > athttp://groups.google.com/group/pylons-discuss?hl=en.

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