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

Error #4

Open
TimHobbes opened this issue Jan 3, 2018 · 1 comment
Open

Error #4

TimHobbes opened this issue Jan 3, 2018 · 1 comment

Comments

@TimHobbes
Copy link

When I start start.py with the commando python2 start.py is get the error:
Traceback (most recent call last):
File "start.py", line 117, in
display = i2c_display.i2c_display(I2C_DISPLAY_ADDRESS, LCD_ROWS, LCD_COLUMNS, TEMPORARY_SCREEN_PERIOD, SCROLLING_PERIOD)
File "/root/RuneAudioLCD-master/display.py", line 20, in init
self.lcd_initialize()
File "/root/RuneAudioLCD-master/i2c_display.py", line 102, in lcd_initialize
self.lcd_device = i2c_device(self.address)
File "/root/RuneAudioLCD-master/i2c_display.py", line 79, in init
self.bus = smbus.SMBus(port)
IOError: [Errno 2] No such file or directory

@RandyCupic
Copy link
Owner

Hello,

Take a look on the installation tutorial: http://www.runeaudio.com/forum/lcd-display-and-buttons-in-python-tutorial-and-code-t1191.html

Search for "smbus" and there you will find what you should do to remove this problem with smbus.

This is only a workaround. I have to retype this script to make it better and easier to install.

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

No branches or pull requests

2 participants