(pythonExecPath: string)
| 10 | await proc.exec(pythonExecPath, ['-m', 'pip', 'uninstall', 'ipykernel', '--yes']); |
| 11 | } |
| 12 | export async function installIPyKernel(pythonExecPath: string) { |
| 13 | // Uninstall ipykernel from the virtual env. |
| 14 | const proc = new ProcessService(); |
| 15 | await proc.exec(pythonExecPath, ['-m', 'pip', 'install', 'ipykernel']); |
| 16 | } |