[IPython-User] virtualenv and sys.path order

Thomas Wiecki thomas.wiecki@googlemail....
Fri Apr 13 11:04:31 CDT 2012


On Fri, Apr 13, 2012 at 11:02 AM, Thomas Kluyver <takowl@gmail.com> wrote:
> On 13 April 2012 15:41, Thomas Wiecki <thomas.wiecki@googlemail.com> wrote:
>> However, in ipython, the sys.path includes the system wide packages
>> before the extra-search-dir. How does this happen?
>
> Have you installed IPython inside the virtualenv? If not, please do
> and see if the problem continues.

Yes, that fixes the problem, thanks!

> If you have, how is an extra-search-dir specified? I'm not all that
> familiar with virtualenv features.

It puts the paths into a .pth file that lives in the virtual-env
site-package dir.

Thomas

> Thomas
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user


More information about the IPython-User mailing list