Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOError: [Errno 2] No such file or directory #28

Open
TheGodSkill opened this issue Mar 5, 2023 · 2 comments
Open

IOError: [Errno 2] No such file or directory #28

TheGodSkill opened this issue Mar 5, 2023 · 2 comments
Labels

Comments

@TheGodSkill
Copy link

OS: Raspbian Jessie 2020-04-10
Running on an Banana Pi M2 Zero

Python 2.7.13

Traceback (most recent call last):
File "gif.py", line 45, in
spi_speed_hz=4000000
File "/home/pi/.local/lib/python2.7/site-packages/ST7735/init.py", line 146, in init
self._spi = spidev.SpiDev(port, cs)
IOError: [Errno 2] No such file or directory

I used the gif.py in the example folder with the deployrainbows.gif

@TheGodSkill
Copy link
Author

I used the command
"python gif.py deployrainbows.gif"

@Gadgetoid
Copy link
Member

This usually means you have not enabled SPI, which you can do with the shorthand: sudo raspi-config nonint do_spi 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants