Skip to content

Instantly share code, notes, and snippets.

@dennis-gonzales
Last active October 18, 2024 04:08
Show Gist options
  • Save dennis-gonzales/d7a7efcc0176a84854c85bdac73c6b03 to your computer and use it in GitHub Desktop.
Save dennis-gonzales/d7a7efcc0176a84854c85bdac73c6b03 to your computer and use it in GitHub Desktop.
Python for Data Science

Install Python3

apt install -y software-properties-common

apt-get update -y; apt upgrade -y

add-apt-repository -y ppa:deadsnakes/ppa

apt-get update && apt-cache search python3.1

apt-get install python3.11 -y

ln -s /usr/bin/python3.11 /usr/bin/python

python --version
# https://serverspace.io/support/help/install-python-latest-version-on-ubuntu-20-04/

Install pip3

# 
sudo apt-get -y install python3-pip
# https://www.educative.io/answers/installing-pip3-in-ubuntu

Install miniconda

# download Miniconda3-latest-Linux-x86_64.sh in GitHub releases
sh ./Miniconda3-latest-Linux-x86_64.sh 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment