##// END OF EJS Templates
Merge pull request #13093 from madbird1304/madbird1304/issue#13084-fix...
Blazej Michalik -
r26729:96617c61 merge
parent child Browse files
Show More
@@ -66,7 +66,12 b' class PackagingMagics(Magics):'
66 Usage:
66 Usage:
67 %pip install [pkgs]
67 %pip install [pkgs]
68 """
68 """
69 python = shlex.quote(sys.executable)
69 python = sys.executable
70 if sys.platform == "win32":
71 python = '"' + python + '"'
72 else:
73 python = shlex.quote(python)
74
70 self.shell.system(" ".join([python, "-m", "pip", line]))
75 self.shell.system(" ".join([python, "-m", "pip", line]))
71
76
72 print("Note: you may need to restart the kernel to use updated packages.")
77 print("Note: you may need to restart the kernel to use updated packages.")
General Comments 0
You need to be logged in to leave comments. Login now