Run the pip package manager within the current kernel. Usage: %pip install [pkgs]
(self, line)
| 60 | |
| 61 | @line_magic |
| 62 | def pip(self, line): |
| 63 | """Run the pip package manager within the current kernel. |
| 64 | |
| 65 | Usage: |
| 66 | %pip install [pkgs] |
| 67 | """ |
| 68 | self.shell.system(' '.join([sys.executable, '-m', 'pip', line])) |
| 69 | print("Note: you may need to restart the kernel to use updated packages.") |
| 70 | |
| 71 | @line_magic |
| 72 | def conda(self, line): |