[IPython-dev] EPD, virtualenv, ipython
Satrajit Ghosh
satra at mit.edu
Thu Jan 27 15:22:10 EST 2011
hi,
i've installed EPD 6.3 x64 on an ubuntu machine and then i installed
virtualenvwrapper and pip. i setup a new virtual environment and
easy_install nibabel. if i launch ipython, it invokes the correct ipython
from EPD but i cannot import nibabel. if i simply launch python, i can
import nibabel.
this is sys.path from ipython launched within the virtual environment
['',
'/software/python/EPD/6.3/bin',
'/software/python/EPD/6.3/lib/python2.6/site-packages/virtualenvwrapper-2.6.1-py2.6.egg',
'/software/python/EPD/6.3/lib/python2.6/site-packages/virtualenv-1.5.1-py2.6.egg',
'/software/python/EPD/6.3/lib/python26.zip',
'/software/python/EPD/6.3/lib/python2.6',
'/software/python/EPD/6.3/lib/python2.6/plat-linux2',
'/software/python/EPD/6.3/lib/python2.6/lib-tk',
'/software/python/EPD/6.3/lib/python2.6/lib-old',
'/software/python/EPD/6.3/lib/python2.6/lib-dynload',
'/software/python/EPD/6.3/lib/python2.6/site-packages',
'/software/python/EPD/6.3/lib/python2.6/site-packages/PIL',
'/software/python/EPD/6.3/lib/python2.6/site-packages/IPython/Extensions',
u'/users/satra/.ipython']
this is sys.path from python launched within the virtual environment
/software/python/virtualenvs/test/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg
/software/python/virtualenvs/test/lib/python2.6/site-packages/pip-0.8.1-py2.6.egg
/software/python/virtualenvs/test/lib/python2.6/site-packages/nibabel-1.0.0-py2.6.egg
/software/python/virtualenvs/test/lib/python26.zip
/software/python/virtualenvs/test/lib/python2.6
/software/python/virtualenvs/test/lib/python2.6/plat-linux2
/software/python/virtualenvs/test/lib/python2.6/lib-tk
/software/python/virtualenvs/test/lib/python2.6/lib-old
/software/python/virtualenvs/test/lib/python2.6/lib-dynload
/software/python/EPD/6.3/lib/python2.6
/software/python/EPD/6.3/lib/python2.6/plat-linux2
/software/python/EPD/6.3/lib/python2.6/lib-tk
/software/python/virtualenvs/test/lib/python2.6/site-packages
/software/python/EPD/6.3/lib/python2.6/site-packages/virtualenvwrapper-2.6.1-py2.6.egg
/software/python/EPD/6.3/lib/python2.6/site-packages/virtualenv-1.5.1-py2.6.egg
/software/python/EPD/6.3/lib/python2.6/site-packages
/software/python/EPD/6.3/lib/python2.6/site-packages/PIL
------------
any ideas as to why ipython is not being loaded with an updated sys.path?
cheers,
satra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110127/62e4a124/attachment.html>
More information about the IPython-dev
mailing list