diff --git a/colab/demo.ipynb b/colab/demo.ipynb index d9f5ed9826..bbb3557ab3 100644 --- a/colab/demo.ipynb +++ b/colab/demo.ipynb @@ -61,6 +61,25 @@ " * Feel free to create an issue on our [GitHub repo](https://github.com/nerfstudio-project/nerfstudio).\n" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Sequence of installations required for notebook to run with Python 3.10\n", + "!pip install colab-xterm\n", + "%reload_ext colabxterm\n", + "!apt-get update -y\n", + "!apt-get install python3.10 python3.10-distutils\n", + "!update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10\n", + "!update-alternatives --config python3\n", + "!apt-get install python3-pip\n", + "!python3 -m pip install --upgrade pip --user\n", + "!sudo apt remove python3-blinker\n", + "!pip install --force-reinstall \"numpy<2.0.0\"" + ] + }, { "cell_type": "code", "execution_count": null, @@ -253,13 +272,11 @@ "# @title # Render Video { vertical-output: true }\n", "# @markdown