Show More
@@ -67,11 +67,10 b' class PackagingMagics(Magics):' | |||
|
67 | 67 | %pip install [pkgs] |
|
68 | 68 | """ |
|
69 | 69 | python = sys.executable |
|
70 | if " " in python: | |
|
71 | if sys.platform == "win32": | |
|
72 | python = '"' + python + '"' | |
|
73 | else: | |
|
74 | python = shlex.quote(python) | |
|
70 | if sys.platform == "win32": | |
|
71 | python = '"' + python + '"' | |
|
72 | else: | |
|
73 | python = shlex.quote(python) | |
|
75 | 74 | |
|
76 | 75 | self.shell.system(" ".join([python, "-m", "pip", line])) |
|
77 | 76 |
General Comments 0
You need to be logged in to leave comments.
Login now