Last active
June 27, 2023 18:27
-
-
Save arvati/faddc8f5b182fd9aaa277e62f5c1ccf0 to your computer and use it in GitHub Desktop.
Installing Jupyter Kernels for VScode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"attachments": {}, | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"# Minimal Install for vscode use: " | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"vscode": { | |
"languageId": "shellscript" | |
} | |
}, | |
"outputs": [], | |
"source": [ | |
"curl micro.mamba.pm/install.sh | bash\n", | |
"micromamba activate \n", | |
"micromamba install -y -n base python=3.11 pip ipykernel bash_kernel -c conda-forge\n", | |
"python -m bash_kernel.install" | |
] | |
}, | |
{ | |
"attachments": {}, | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"Config settings.json in .vscode folder with micromamba python path: \n", | |
"```\n", | |
"{\n", | |
" \"python.defaultInterpreterPath\": \"~/micromamba/bin/python\"\n", | |
"}\n", | |
"```" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Bash", | |
"language": "bash", | |
"name": "bash" | |
}, | |
"language_info": { | |
"name": "bash" | |
}, | |
"orig_nbformat": 4 | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment