From 28e860c6a48f4e104ba7ec2ba28d53729b22f692 Mon Sep 17 00:00:00 2001 From: Engineer-of-Stuff Date: Wed, 7 Sep 2022 18:55:48 -0600 Subject: [PATCH] miniconda3 --- stable_diffusion_webui_hlky_paperspace_09-07-2022.ipynb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stable_diffusion_webui_hlky_paperspace_09-07-2022.ipynb b/stable_diffusion_webui_hlky_paperspace_09-07-2022.ipynb index 7bc2674..fdfc9f5 100644 --- a/stable_diffusion_webui_hlky_paperspace_09-07-2022.ipynb +++ b/stable_diffusion_webui_hlky_paperspace_09-07-2022.ipynb @@ -11,8 +11,12 @@ "outputs": [], "source": [ "# Download and run the Anaconda3 installer\n", - "!wget https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh\n", - "!bash /notebooks/Anaconda3-2022.05-Linux-x86_64.sh -b -f -p /notebooks/anaconda3" + "import sys\n", + "%cd /notebooks/\n", + "!wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\n", + "!bash ./Miniconda3-latest-Linux-x86_64.sh -b -f -p /usr/local # Sorry, but it MUST be installed in /usr/local\n", + "sys.path.append('/usr/local/lib/python3.7/site-packages/')\n", + "!rm Miniconda3-latest-Linux-x86_64.sh" ] }, {