How do I get the IPython version I'm currently using?
import IPython, then use
IPython.version_info to get it as a tuple, or
IPython.__version__ to get it as a string. For example:
In : import IPython In : IPython.version_info Out: (4, 1, 2, '') In : IPython.__version__ Out: '4.1.2'
IPython.version_info seems to be the same layout as
sys.version_info: major, minor, micro, releaselevel.
Run the following command in the terminal: