File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 29
29
#-----------------------------------------------------------------------------
30
30
31
31
# Don't forget to also update setup.py when this changes!
32
- v = sys .version_info
33
- if v [: 2 ] < ( 3 , 3 ):
34
- raise ImportError ( 'IPython requires Python version 3.3 or above.' )
35
- del v
32
+ if sys .version_info < ( 3 , 3 ):
33
+ raise ImportError ( 'IPython 6.0+ requires Python version 3.3 or above. '
34
+ 'For a version compatible with Python 2.7, please install'
35
+ ' the 5.x Long Term Support version.' )
36
36
37
37
# Make it easy to import extensions - they are always directly on pythonpath.
38
38
# Therefore, non-IPython modules can be added to extensions directory.
@@ -143,4 +143,3 @@ def start_kernel(argv=None, **kwargs):
143
143
"""
144
144
from IPython .kernel .zmq .kernelapp import launch_new_instance
145
145
return launch_new_instance (argv = argv , ** kwargs )
146
-
You can’t perform that action at this time.
0 commit comments