Skip to content

Commit

Permalink
moved julia installation to colab cell
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelmagnu committed Nov 4, 2024
1 parent d253d45 commit 6b61401
Showing 1 changed file with 5 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,16 @@
"if 'google.colab' in sys.modules:\n",
" !pip --quiet install open-atmos-jupyter-utils\n",
" from open_atmos_jupyter_utils import pip_install_on_colab\n",
" pip_install_on_colab('PyMPDATA-examples')"
" pip_install_on_colab('PyMPDATA-examples')\n",
" JULIA_URL = \"https://julialang-s3.julialang.org/bin/linux/x64/1.11/julia-1.11.1-linux-x86_64.tar.gz\"\n",
" !wget -nv $JULIA_URL -O /tmp/julia.tar.gz\n",
" !tar -x -f /tmp/julia.tar.gz -C /usr/local --strip-components 1\n",
" !rm /tmp/julia.tar.gz"
],
"id": "6127e1a5c94b8ece",
"outputs": [],
"execution_count": 1
},
{
"metadata": {},
"cell_type": "code",
"outputs": [],
"execution_count": null,
"source": [
"# [IMPORTANT] uncomment and run the code below\n",
"# JULIA_URL = \"https://julialang-s3.julialang.org/bin/linux/x64/1.11/julia-1.11.1-linux-x86_64.tar.gz\"\n",
"# !wget -nv $JULIA_URL -O /tmp/julia.tar.gz\n",
"# !tar -x -f /tmp/julia.tar.gz -C /usr/local --strip-components 1\n",
"# !rm /tmp/julia.tar.gz"
],
"id": "2d141692106b5f16"
},
{
"cell_type": "markdown",
"id": "0f162ce9-5704-4464-8b67-be8c86ecabc8",
Expand Down

0 comments on commit 6b61401

Please sign in to comment.