[IPython-dev] local ipython install from github

Thomas Kluyver takowl at gmail.com
Fri Jun 1 06:21:32 EDT 2012


On 1 June 2012 08:41, Johann Cohen-Tanugi <johann.cohentanugi at gmail.com> wrote:
> Hi, there has been some blogs in the past helping peope use ipython with
> virtualenv : see for instance
> http://igotgenes.blogspot.fr/2010/01/interactive-sandboxes-using-ipython.html
> Has this become obsolete with new ipython?

We've integrated the trick those posts describe, so that if you have a
virtualenv active when you start ipython 0.13, the virtualenv's
package directories will be added to sys.path, and you can import
packages installed in the virtualenv. So yes, they are obsolete as of
the next release.

As Min says, though, we still recommend installing IPython inside the
virtualenv if you want everything to work properly. But we know that
many people use IPython as a quick and simple Python shell, so we
don't want to force everyone to install it in each virtualenv just to
get basic functionality.

Thomas



More information about the IPython-dev mailing list