前提
Raspberry Piにsmbus2をインストールしたいのですが、エラーになってしまいます。
Raspberry Piと電子工作の初心者です。
SunFounder Da Vinci Kit for Raspberry Piで電子工作をしています。LCD1602のディスプレイに文字を表示したいのですが、 I2C用のsmbusがインストールできません。
$ sudo pip3 install smbus2
LCD1602のディスプレイの電子工作のページ
1.1.7 I2C LCD1602
https://docs.sunfounder.com/projects/davinci-kit/ja/latest/1.1.7_i2c_lcd1602.html
I2C用のsmbusがインストール
https://docs.sunfounder.com/projects/davinci-kit/ja/latest/appendix/i2c_configuration.html
実現したいこと
Raspberry Pi4 B 4GBにLCD1602のディスプレイに文字を表示したい
smbus2がインストールできない。
発生している問題・エラーメッセージ
poko@raspberrypi:~ $ sudo pip3 install smbus2 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5581bc8>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5581688>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5581598>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5581c28>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb55813e8>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5581aa8>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5581ef8>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5581e08>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb55817a8>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5581358>: Failed to establish a new connection: [Errno -3] 名前解決に一時的に失敗しました')': /simple/smbus2/ ERROR: Could not find a version that satisfies the requirement smbus2 ERROR: No matching distribution found for smbus2
このエラーはsmbus2がないということでしょうか?
smbus2はインストールできますか?
ご教授よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。