I was attempting to run this on the same PI as my OctoPrint setup. I kept getting errors saying numpy wasn't installed. After attempting the suggested command to get numpy installed, it claimed that pip wasn't installed for python3. After a lot of googling I got pip and numpy installed, but I was still getting the same error saying numpy was required.
I finally added some additional output to DuetLapse.py file and found that I was getting the following error:
Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory
It looks like the answer to that error was to run
sudo apt-get install libatlas-base-dev
I just thought I would post this here in case anyone else runs into this issue, or if anyone has a better way to solve it. I am novice with Linux and Python, so this may not be the best way to handle things.
I am using the following versions of OctoPrint/OctoPi:
OctoPrint version: 1.4.0
OctoPi version: 0.17.0