Getting a PasteScript error when I try to serve an existing Pylons app.

Posted by Sarah on Stack Overflow See other posts from Stack Overflow or by Sarah
Published on 2010-11-16T21:33:03Z Indexed on 2011/01/02 14:54 UTC
Read the original article Hit count: 233

Filed under:
|
|
|
|

I'm trying to serve an existing Python 2.5 Pylons application on OS X Snow Leopard.

I've already installed Python 2.5 and set it as the default Python installation, installed paster, and installed the version of Pylons the app needs (0.9.6.1) as well as other eggs... but when I cd to the main folder and do "paster serve development.ini" I get the following:

File "/usr/local/bin/paster", line 5, in <module>
    from pkg_resources import load_entry_point

File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 2603, in <module>

File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 666, in require

File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 565, in resolve

pkg_resources.DistributionNotFound: PasteScript==1.7.3

I definitely have done "easy_install PasteScript==1.7.3" and I still get this error. Is there something really obvious I'm missing? Help?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about python

Related posts about snow-leopard