Code Monkey home page Code Monkey logo

Comments (7)

waveshare avatar waveshare commented on June 15, 2024 2

We will solve this problem

from e-paper.

narolinus avatar narolinus commented on June 15, 2024 1

Well... you are right.

from e-paper.

waveshare avatar waveshare commented on June 15, 2024 1

now you can see it in readme.txt

from e-paper.

robaxelsen avatar robaxelsen commented on June 15, 2024

Same issue here, on 2.7 inch e-Paper HAT.

pi@raspberrypi:~/RaspberryPi/python3 $ sudo python3 main.py 
Traceback (most recent call last):
  File "main.py", line 4, in <module>
    import epd2in7
  File "/home/pi/RaspberryPi/python3/epd2in7.py", line 51, in <module>
    import epdconfig
  File "/home/pi/RaspberryPi/python3/epdconfig.py", line 48, in <module>
    SPI = spidev.SpiDev(0, 0)
FileNotFoundError: [Errno 2] No such file or directory

from e-paper.

miikeat avatar miikeat commented on June 15, 2024

The error message seems to come from a missing spi device.

check if spi is enabled in config.txt:

dtparam=spi=on

If you still don't have any device starting with spi in /dev/ after a reboot run

sudo rpi-update

that fixed the issue for me after a reboot.

Source: https://www.raspberrypi.org/forums/viewtopic.php?t=154317

from e-paper.

narolinus avatar narolinus commented on June 15, 2024

That fixes the problem. Thanks.

from e-paper.

miikeat avatar miikeat commented on June 15, 2024

@narolinus I'd say leave that issue open, because this should be added to the documentation! And someone of waveshare should look into that issue so other dont have the same issue!

from e-paper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.