MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / installIPyKernel

Function installIPyKernel

src/test/datascience/helpers.node.ts:12–16  ·  view source on GitHub ↗
(pythonExecPath: string)

Source from the content-addressed store, hash-verified

10 await proc.exec(pythonExecPath, ['-m', 'pip', 'uninstall', 'ipykernel', '--yes']);
11}
12export 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}

Callers 2

preSwitchFunction · 0.90

Calls 1

execMethod · 0.95

Tested by 1

preSwitchFunction · 0.72