Have you tried removing the one in the system's site-packages?

On Thu, May 19, 2011 at 1:25 PM, Mark Erbaugh <[email protected]> wrote:
> I've encountered something unexpected.
> I am developing an application using webpy and two other libraries. I'm
> using virtualenv with the --no-site-packages option to create a virtual
> environment with just those libraries.  I'm using Eclipse and PyDev.  This
> is on a Mac running Snow Leopard. I've set the interpreter in PyDev to the
> python executable created by virtualenv.
> For diagnostic purposes, after I import the libraries in question, I added a
> print <library>.__file__ to see which library was being loaded.  For the
> other two libraries (reportlab and pdfrw), the library is being correctly
> loaded from the virtualenv. But webpy is being loaded from the default
> site-packages folder:
> /Library/Python/2.6/site-packages/web.py-0.34-py2.6.egg/web/__init__.pyc
> To try things outside of Eclipse, I open a terminal window and execute
> source bin/activate from the virtualenv folder to activate the virtualenv.
> When I run the app that way, it picks up all three libraries (including
> webpy) from the virtualenv.
> Thanks,
> Mark
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" 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/webpy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to