Installing novelwriter.py

Introduction

I had some difficulty installing novelwriter.py according to the official documentation. Here’s what I had to do to get it working.

Procedure

  1. As root run:
    apt-get -y install python3-pyqt5 python3-lxml python3-enchant python3-dev
  2. As non-root run:
    pip3 install --upgrade pip
    pip3 install --upgrade setuptools
    pip3 install novelwriter
  3. Cd to a directory in $PATH that is under $HOME and run:
    ln -sr ~/.local/bin/novelWriter

See also