On Sat, Mar 12, 2011 at 9:08 AM, Chris McDonough <[email protected]> wrote:
> On Thu, 2011-03-10 at 13:14 -0800, pmorrow wrote:
>> Followed the installation instructions for Pyramid 1.0, but when
>> executing the simple first app described at this link
>>
>> http://docs.pylonsproject.org/projects/pyramid/1.0/narr/firstapp.html
>
> It sounds as if you may not have created your virtualenv with the
> --no-site-packages flag.  Could you try it again with that flag?

I got a similar problem with Ubuntu 10.10. It seems that namespace
packages (which zope is) can't be split between the global
site-packages and the virtualenv. Kubuntu installs some Zope packges
by default, and somehow when Pip installs Pyramid, it sees that these
are already installed but when you run the application later it can't
find them. The only solution is --no-site-packages.

This sucks however if you need to use packages with C dependencies
that can be difficult to install sometimes, such as mysql-python or
PIL, where you want to use the OS packages. I haven't needed these in
Pyramid yet so I'm not sure what I'm going to do about them.

-- 
Mike Orr <[email protected]>

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