elad661 / rpi_epd2in7

A python library for interfacing with the Waveshare 2.7inch e-Paper HAT display from the Raspberry Pi.
MIT License
59 stars 23 forks source link

No module named 'rpi_epd2in7' #6

Open gigibibi opened 2 years ago

gigibibi commented 2 years ago

Hello,

Sorry I am a beginner so maybe it is obvious. But when I launch one of the code in the demos, I have the following error code :

Traceback (most recent call last):
  File "/home/pi/rpi_epd2in7-master/demos/interactive.py", line 23, in <module>
    from rpi_epd2in7.epd import EPD
ModuleNotFoundError: No module named 'rpi_epd2in7'

Thank you for your help.

ThorsJ commented 2 years ago

The same thing happened to me... You need to copy/move the folder rpi_epd2in7 to the location where your packages are installed on python. For me it was /lib/python3/dist-packages