PyMVPA/PyMVPA — Issue #57: import inside ipython
Author: satra
Created: 2011-12-06 19:28:51+00:00
State: open

```
(nipype0.4)satra@ba3:~$ ipython
Python 2.7.2 |CUSTOM| (default, Jul 3 2011, 15:17:51)
Type "copyright", "credits" or "license" for more information.

IPython 0.12.beta -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.

In [1]: from mvpa2 import *
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (167, 0))
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
/users/satra/ in ()
----> 1 from mvpa2 import *

/software/python/EPD/virtualenvs/7.1/nipype0.4/lib/python2.7/site-packages/mvpa2/__init__.py in ()
53 from mvpa2.base import cfg
54 from mvpa2.base import externals
---> 55 from mvpa2.base.info import wtf
56
57 # commit hash to be filled in by Git upon export/archive

/software/python/EPD/virtualenvs/7.1/nipype0.4/lib/python2.7/site-packages/mvpa2/base/info.py in ()
19 import mvpa2
20 from mvpa2.base import externals, cfg
---> 21 from mvpa2.base.dochelpers import borrowkwargs
22
23 def _t2s(t):

/software/python/EPD/virtualenvs/7.1/nipype0.4/lib/python2.7/site-packages/mvpa2/base/dochelpers.py in ()
29 if __in_ipython:
30 __rst_mode = False # either to do ReST links at all
---> 31 if versions['ipython'] <= '0.8.1':
32 __add_init2doc = True
33 else:

/software/python/EPD/virtualenvs/7.1/nipype0.4/lib/python2.7/site-packages/mvpa2/base/externals.pyc in __getitem__(self, key)
36 else:
37 exists(key, force=True, raise_=True)
---> 38 return super(_VersionsChecker, self).__getitem__(key)
39
40 versions = _VersionsChecker()

KeyError: 'ipython'
```