##// END OF EJS Templates
Remove old Python2/3 informations from the Readme.rst
M Bussonnier -
Show More
@@ -96,58 +96,6 b' Documentation and installation instructions for older version of IPython can be'
96 found on the `IPython website <https://ipython.org/documentation.html>`_
96 found on the `IPython website <https://ipython.org/documentation.html>`_
97
97
98
98
99
100 IPython requires Python version 3 or above
101 ==========================================
102
103 Starting with version 6.0, IPython does not support Python 2.7, 3.0, 3.1, or
104 3.2.
105
106 For a version compatible with Python 2.7, please install the 5.x LTS Long Term
107 Support version.
108
109 If you are encountering this error message you are likely trying to install or
110 use IPython from source. You need to checkout the remote 5.x branch. If you are
111 using git the following should work::
112
113 $ git fetch origin
114 $ git checkout 5.x
115
116 If you encounter this error message with a regular install of IPython, then you
117 likely need to update your package manager, for example if you are using `pip`
118 check the version of pip with::
119
120 $ pip --version
121
122 You will need to update pip to the version 9.0.1 or greater. If you are not using
123 pip, please inquiry with the maintainers of the package for your package
124 manager.
125
126 For more information see one of our blog posts:
127
128 https://blog.jupyter.org/release-of-ipython-5-0-8ce60b8d2e8e
129
130 As well as the following Pull-Request for discussion:
131
132 https://github.com/ipython/ipython/pull/9900
133
134 This error does also occur if you are invoking ``setup.py`` directly – which you
135 should not – or are using ``easy_install`` If this is the case, use ``pip
136 install .`` instead of ``setup.py install`` , and ``pip install -e .`` instead
137 of ``setup.py develop`` If you are depending on IPython as a dependency you may
138 also want to have a conditional dependency on IPython depending on the Python
139 version::
140
141 install_req = ['ipython']
142 if sys.version_info[0] < 3 and 'bdist_wheel' not in sys.argv:
143 install_req.remove('ipython')
144 install_req.append('ipython<6')
145
146 setup(
147 ...
148 install_requires=install_req
149 )
150
151 Alternatives to IPython
99 Alternatives to IPython
152 =======================
100 =======================
153
101
General Comments 0
You need to be logged in to leave comments. Login now