...
- Have a CDS account. If you don't have an account, please self register at the CDS registration page.
Option 1: use Python 2.
Expand title Test Python 2 and install pip - If you want to use Python 2, then it should come with your macOS. Open a Terminal and type command 'python'. You should see something like 'Python 2.7.10 (default, Feb 22 2019, 21:17:52)'. Type 'Control + D' to quit.
- For Python 2, run commands below to install pip:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
- python get-pip.py
Option 2: use Python 3. You are recommended to follow instructions here using Homebrew.
Expand title Install Python3 through Homebrew - xcode-select --install
- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew install python3
Option 2: use Python 3. You are recommended to follow instructions here using Homebrew.
Optional: you are recommended to set up a virtual environment. Python 3 comes up with this feature. For Python 2, you may want to use Virtualenv. This is out of the scope of this knowledge base article.
...