Basic python setup

Install

Since you undoubtedly use linux, python should come pre-installed, but here is the install command anyway:

sudo pacman -S python python-pip

Configure

Add this to your ~/.bash_profile:

export PATH=~/.local/bin:$PATH

Packages

pip install --user -U package-name

Cleanup

When a new python verson is released, clean up the old versions from ~/.local/lib:

ls -la ~/.local/lib