When bus = smbus.SMBus (1) gets IOError: [Errno 2] No such file or directory when trying to start the GrovePi starter kit

At the beginning

GrovePi's FORUM was so quick that I asked a question and got an answer in __28 minutes __! In this industry, where it takes about two weeks to get a meaningful answer and paid support is the norm, the development of this one stops during that time, and I really appreciate this kind of quickness. In my case, I often find the "speed" of this QA more attractive than the function, quality, and performance of products and services, or I feel reassured that "this is okay to use."

Cause

The cause is that smbus wasn't available in python ... Read the error message properly, and I'd be scolded by the Japanese mailing list ... Thanks to Exadon for his kindness!

Correspondence

The procedure you taught me

sudo apt-get install python-smbus
sudo apt-get install i2c-tools

Also, check if I2C is enabled in raspi-config

Reference URL

--[Post] of the QA (http://www.dexterindustries.com/forum/?topic=grovepi-starter-kit-ioerror-with-led-brink-tutorial/#post-5517) -Setting procedure --[Tutorial] of LED blink that I tried and got an error (http://www.dexterindustries.com/GrovePi/projects-for-the-raspberry-pi/raspberry-pi-led-tutorial/) -GrovePi Starter Kit --The GrovePi Starter Kit's Publisher's Page is a joy of 89 $. The distance sensor, LCD, and even the relay are included. --For some reason, Akizuki is cheaper ... Moreover, the sense of product photos is Japanese and cute.

Recommended Posts

When bus = smbus.SMBus (1) gets IOError: [Errno 2] No such file or directory when trying to start the GrovePi starter kit
What to do when [Errno 2] No such file or directory appears in Python
When I try to run the pip command after updating pip, I get "No such file or directory"
Addressed "Python .h: No such file or directory" when installing uWSGI with Python 3.8
NO MORE “cd: foo: No such file or directory”
What to do if ENOENT: no such file or directory appears during npm install
A story about what to do when a bad interpreter: Not such file or directory appears in Anaconda3 and how to investigate the cause.
pip install --upgrade pip will result in No such file or directory
-bash: ./ {file name} .sh: /usr/bin/bash: bad interpreter: No such file or directory
[Note] How to deal with unicode error and No such file or directory (output table to excel file with pandas)