Hello,

just to share my experience. I'm installing a new Fedora 9 box. Then I 
installed my pylons application, and tried to make things work with 
Apache (mod_wsgi). After setting up the .wsgi file, I had an error about 
paste when accessing the application in my apache error log:

from paste.deploy import loadapp
ImportError: No module named deploy

So I tried from plain python interpreter. Same problem. I checked all my 
dirs and path (things installed in /usr/lib64/python2.5, others 
installed under /usr/lib/python2.5). PasteDeploy was installed correctly.

This worked:
 >>> import paste
This didn't:
 >>> import paste.deploy

??

Although, I did notice one strange thing:

 >>> import paste
 >>> paste
<module 'paste' (built-in)>

built-in ??

"rpm -qa | grep paste" yield:
python-paste-1.6-1.fc9.noarch

Well, OK. Then paste is now part of the Fedora 9 distro. So to make 
things work, I figured out I'd install the PasteDeploy and PasteScript 
from the distro's reposiroty as well:

yum install python-paste-deploy.noarch python-paste-script.noarch

That made things to work again (although now I have a decorator problem, 
but that's another topic).

Regards,
-- 
Alexandre CONRAD


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