keenerd / rtl-sdr-misc

A bucket of various work-in-progress rtl-sdr ideas.
212 stars 173 forks source link

Running heatmap.py fails with error "no module named 'PIL' " #20

Closed Kishaihd closed 6 years ago

Kishaihd commented 6 years ago

I've tried running with python 2 and python 3, both fail with error Traceback (most recent call last): File "./heatmap.py", line 3, in <module> from PIL import Image, ImageDraw, ImageFont ModuleNotFoundError: No module named 'PIL'

Kishaihd commented 6 years ago

Turns out, PIL is deprecated, and "pillow" should be used instead. Note that pillow IS backwards-compatible with PIL, so running pip install pillow will enable heatmap.py to run without any errors. :)