Show More
@@ -13,7 +13,18 b' except ImportError as e:' | |||||
13 | Please install it first. |
|
13 | Please install it first. | |
14 | """ |
|
14 | """ | |
15 | raise ImportError(e.message + verbose_msg) |
|
15 | raise ImportError(e.message + verbose_msg) | |
16 | import jsonpointer as jsonpointer |
|
16 | ||
|
17 | try: | |||
|
18 | import jsonpointer as jsonpointer | |||
|
19 | except ImportError as e: | |||
|
20 | verbose_msg = """ | |||
|
21 | ||||
|
22 | IPython depends on the jsonpointer package: https://pypi.python.org/pypi/jsonpointer | |||
|
23 | ||||
|
24 | Please install it first. | |||
|
25 | """ | |||
|
26 | raise ImportError(e.message + verbose_msg) | |||
|
27 | ||||
17 | from IPython.utils.py3compat import iteritems |
|
28 | from IPython.utils.py3compat import iteritems | |
18 |
|
29 | |||
19 |
|
30 |
General Comments 0
You need to be logged in to leave comments.
Login now