[IPython-User] virtualenv and sys.path order

Thomas Wiecki thomas.wiecki@googlemail....
Fri Apr 13 09:41:13 CDT 2012


I set up a virtualenv so that an extra-search-dir overwrites a
globally installed package.

This works (from inside the venv) with python (i.e. sys.path has the
extra-search-dir before the system wide package dir in

However, in ipython, the sys.path includes the system wide packages
before the extra-search-dir. How does this happen? Can I set it up so
that the extra-search-dir is included in the sys.path before
everything else?


More information about the IPython-User mailing list