(pythonExecPath: string)
| 5 | export * from './helpers'; |
| 6 | |
| 7 | export async function uninstallIPyKernel(pythonExecPath: string) { |
| 8 | // Uninstall ipykernel from the virtual env. |
| 9 | const proc = new ProcessService(); |
| 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(); |