##// END OF EJS Templates
Merge pull request #13055 from meeseeksmachine/auto-backport-of-pr-13052-on-7.x...
Blazej Michalik -
r26652:4dcdce3f merge
parent child Browse files
Show More
@@ -65,7 +65,9 b' class PackagingMagics(Magics):'
65 Usage:
65 Usage:
66 %pip install [pkgs]
66 %pip install [pkgs]
67 """
67 """
68 self.shell.system(' '.join([sys.executable, '-m', 'pip', line]))
68 python = shlex.quote(sys.executable)
69 self.shell.system(" ".join([python, "-m", "pip", line]))
70
69 print("Note: you may need to restart the kernel to use updated packages.")
71 print("Note: you may need to restart the kernel to use updated packages.")
70
72
71 @line_magic
73 @line_magic
General Comments 0
You need to be logged in to leave comments. Login now