IPython and virtualenv: ignoring site packages

Does anyone know how to make IPython ignore site packages in the virtualenv context that was created with the -no-site-packages flag?

+8
virtualenv ipython
source share
1 answer

ipython is not virtual. There are several examples on the Internet of how to make ipython understand virtualenvs: for example here and here . However, you may need to manipulate the environment a bit more than these examples to remove global site package directories from the ipython path.

+8
source share

All Articles