Improve our error messages for non compatibility. by Carreau · Pull Request #9900 · ipython/ipython
I think we can do better, I don't know if we have a bit.ly account, and that would be fine with me to have an updatable page. .
$ python2 -m IPython
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 111, in _get_module_details
__import__(mod_name) # Do not catch exceptions initializing package
File "IPython/__init__.py", line 61, in <module>
""")
ImportError:
============== IPython 6.0+ requires Python version 3.3 or above. =============
|
| For a version compatible with Python 2.7, please install the 5.x Long Term
| Support version.
|
| If you are encountering this error message you are likely trying to be using
| IPython from source. You need to checkout the remote 5.x branch, likely:
|
| $ git fetch origin
| $ git checkout -b origin/5.x
|
| If you encounter this error message with a regular install of IPython, then you
| likely need to update your package manager, for example if you are using `pip`
| check the version of pip with
|
| $ pip --version
|
| You will need to update pip to the version 8.2 or greater. If you are not using
| pip, please inquiry with the maintainers of the package for your package
| manager.
|
| For more information see one of our blog posts:
|
| http://blog.jupyter.org/2016/07/08/ipython-5-0-released/
|