Installing which - JazzCore/python-pdfkit GitHub Wiki
Linux
Download the static binary for your architecture at the which downloads list, extract the file to a directory that is in your PATH, such as /opt or /usr/local/bin and run from there.
Debian / Ubuntu
apt-get install which
Fedora / RHEL / CentOS
yum install which
Mac
All macOS contain which. No need to manually install it.