Last active
November 11, 2024 05:41
-
-
Save arose13/fcc1d2d5ad67503ba9842ea64f6bac35 to your computer and use it in GitHub Desktop.
Install Miniconda in Ubuntu
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
# Setup Ubuntu | |
sudo apt update --yes | |
sudo apt upgrade --yes | |
# Get Miniconda and make it the main Python interpreter | |
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh | |
bash ~/miniconda.sh -b -p ~/miniconda | |
rm ~/miniconda.sh | |
export PATH=~/miniconda/bin:$PATH |
@Zhangchenkai, you're missing a '3' in the last two lines:
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh chmod +x Miniconda3-latest-Linux-x86_64.sh ./Miniconda3-latest-Linux-x86_64.sh
Sorry, but a i tried this way but spyder still not recognizing the package. Any help?
This worked perfectly for me when I was setting my Windows 11 pc with WSL Ubuntu. faced an issue while I was installing/creating virtual env on WSL Ubuntu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the script works as given @ShlomoAbraham