- Run terminal.
- Run “python3 --version” to check if Python is installed.
- If python3 is not yet installed:
Execute command: xcode-select --install
Click “Install” when pop up dialog asks you “Would you like to install the tools now?”
Click “Done” when installation is finished.
- Edit .zshrc in the home directory of your user. Put the following line: alias python=/usr/bin/python3
- Exit your shell. Then open a new shell. Execute “python -v” to verify if the installation is successful.
- Execute: python -m pip install "pelican[markdown]"
- Edit .zshrc again. Append: export PATH=/Users/<your user name>/Library/Python/3.9/bin:$PATH
- Exit the shell. Pelican should be ready now. Open a new shell should you want to execute it.