joukos / PaperTTY

PaperTTY - Python module to render a TTY or VNC on e-ink
946 stars 101 forks source link

ImportError: libtiff.so.5: cannot open shared object file: No such file or directory #57

Closed rroels closed 4 years ago

rroels commented 4 years ago

I followed the install instructions to the letter on a fresh install, but on the first run of I got the following error:

(papertty) rroels@piz:~/PaperTTY $ sudo ~/.virtualenvs/papertty/bin/python3 ./papertty.py list Traceback (most recent call last): File "./papertty.py", line 14, in import drivers.drivers_base as drivers_base File "/home/rroels/PaperTTY/drivers/drivers_base.py", line 18, in from PIL import Image File "/home/rroels/.virtualenvs/papertty/lib/python3.7/site-packages/PIL/Image.py", line 93, in > from . import _imaging as core ImportError: libtiff.so.5: cannot open shared object file: No such file or directory

Luckily the solution is trivial:

sudo apt install libtiff5

Maybe this should be added to the install instructions?

joukos commented 4 years ago

Hmm, I see, I guess in Raspbian the package is included by default. I'll add it, thanks!

joukos commented 4 years ago

Fixed in https://github.com/joukos/PaperTTY/commit/2bc653d506cc576509990abe9d6478d714ab58fe.