Featured image of post Installing Python Pelican in MacOS Sequoia 15.4

Installing Python Pelican in MacOS Sequoia 15.4

I've jumped into the Apple Silicon bandwagon. One of the first things I did with my MacBook Air M2 is to setup Python Pelican in MacOS. This is my installation procedure

I’ve jumped into the Apple Silicon bandwagon as it appears to me it’s gotten ahead of Intel. And since the Asahi project has made a lot of progress in getting GNU/Linux operational in Apple Silicon, I got interested more. Lastly, it seems to me that Apple MacBook Air M2s are getting low in supply, thus I snatched one when I was able to. One of the first things I did with my MacBook Air M2 is to setup Python Pelican in MacOS. Below is my procedure for this.

  • 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.
  • HINT: If you need tags enabled in the Gumby theme, execute: python -m pip install pelican-tag-cloud
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy