Install Nikola Static Site Generator on Raspbian
Nikola Static Site Generator
Nikola is an Open Source Static Site Generator. Nikola offers a lot of features, can be used to maintain a blog, or a website for personal use or for an organization.
Nikola is written in Python and available under the Open Source MIT Licence.
Nikola takes input in many formats. Out of the box, it supports reStructuredText, Markdown, IPython (Jupyter) Notebooks and HTML, and Nikola has plugins for many other formats.
Nikola comes with everything you need to build a modern website: blogs (with comments, tags, categories, archives, RSS/Atom feeds), multilingual support, easy image galleries, and code listings.
For more information, see the Nikola website.
The Raspberry Pi is a well known, small, low cost, fanless, energy-efficient computer powered by a SoC. Several Open Source Operating Systems support the Raspberry Pi, each will give you an open and powerful system.
There are multiple variants Raspberry Pi boards to choose from.
For more information, see the Raspberry Pi website
Raspbian is a free operating system based on Debian, optimized for the Raspberry Pi hardware.
Raspbian, being based on Debian, uses the same, well known package manager as Debian, which makes it an ideal introduction in using Open Source operating system on a Single Board Computer.
For more information, see the Raspbian website
Installing Nikola on Raspbian
I was asked to help to install Nikola on a Raspberry Pi.
For this, I used Raspbian, and downloaded the
file with the name
Installing Nikola through the usual steps runs into some problems with the Python application "pyrsistent".
The system generates a error:
error: invalid command 'bdist_wheel'
I presume this has something to do with different Python versions.
The following commands done on a pristine 2020-08-20-raspios-buster-armhf-lite installation will install Nikola successfully:
apt-get install python3 python-libxslt1 python3-pip \
python3-venv python-pil python3-zmq python3-wheel \
pip3 install -U pip setuptools wheel pyrsistent
python3 -m venv nikola
bin/python -m pip install -U "Nikola[extras]"
nikola init --demo mijn-site
This will result in Nikola running on Python 3.7.
Have fun !