Skip to content

Commit c455dc0

Browse files
DonJayamannerchiodo
authored andcommitted
Install jupyter instead of installing kernel spec (#10080)
* Install jupyter instead of installing kernel spec For #10071
1 parent f50b477 commit c455dc0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

news/2 Fixes/10071.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Re-install `Jupyter` instead of installing `kernelspec` if `kernelspec` cannot be found in the python environment.

src/client/datascience/jupyter/interpreter/jupyterInterpreterDependencyService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ function sortProductsInOrderForInstallation(products: Product[]) {
5757
* @returns {string}
5858
*/
5959
export function getMessageForLibrariesNotInstalled(products: Product[], interpreterName?: string): string {
60+
// Even though kernelspec cannot be installed, display it so user knows what is missing.
6061
const names = products
6162
.map(product => ProductNames.get(product))
6263
.filter(name => !!name)

0 commit comments

Comments
 (0)