Skip to content

Instantly share code, notes, and snippets.

@arvati
Last active June 27, 2023 18:27
Show Gist options
  • Save arvati/faddc8f5b182fd9aaa277e62f5c1ccf0 to your computer and use it in GitHub Desktop.
Save arvati/faddc8f5b182fd9aaa277e62f5c1ccf0 to your computer and use it in GitHub Desktop.
Installing Jupyter Kernels for VScode
Display the source blob
Display the rendered blob
Raw
{
"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