Skip to content

Latest commit

 

History

History
105 lines (67 loc) · 1.63 KB

python_setup.md

File metadata and controls

105 lines (67 loc) · 1.63 KB

Python Setup

Install Pip

NOTE: pip is already installed if you are using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org or if you are working in a Virtual Environment created by virtualenv or venv. Just make sure to upgrade pip.

For macOS:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
rm -f get-pip.py

For linux:

sudo apt install --assume-yes python3-pip

Upgrade pip

For linux / macOS:

pip3 install -U pip

Ref: https://pip.pypa.io/en/stable/installing/

Interesting pip packages

Powerline Status for Vim

pip3 install powerline-status

Ref: https://github.com/powerline/powerline

numpy

pip3 install numpy

Ref: https://numpy.org/install/

pandas

pip3 install pandas

Ref:

  1. https://pandas.pydata.org/docs/getting_started/install.html
  2. https://pandas.pydata.org/getting_started.html

matplotlib

pip3 install -U pip
pip3 install -U matplotlib

Ref: https://matplotlib.org/stable/users/installing.html#installing-an-official-release

Scikit-learn (sklearn)

pip3 install -U scikit-learn

Ref: https://scikit-learn.org/stable/install.html

TensorFlow

# Requires the latest pip
pip3 install -U pip

# Current stable release for CPU and GPU
pip3 install tensorflow

Ref: https://www.tensorflow.org/install

Keras

Django

pip3 install Django==${VERSION}

Ref: https://www.djangoproject.com/download/

Flask

pip3 install Flask

Ref: https://flask.palletsprojects.com/en/1.1.x/installation/