Trying to use I2C with Python but Library not Found [RESOLVED]
-
opkg install pyOnionI2C
results in:
Unknown package 'pyOnionI2C'.
Collected errors:- opkg_install_cmd: Cannot install package pyOnionI2C.
-
@Will-Kostelecky Any technique to get I2C to work ... another example shows the use of a OmegaExpansion library but I can not find it or how to install it...and examples that reference it fail to find things as well. Help!
-
If anyone else runs into this problem...I think, though I am not sure, that my problem was that I had not upgraded my onion to the latest firmware? Once I did so things worked as documented here:
https://wiki.onion.io/Documentation/Libraries/I2C-Python-Module
I reset to factory settings just to be sure and everything still works.
Will
-
@Will-Kostelecky Did you try running
opkg update
before the install command?Either way, I'm glad to hear it worked out. Can you please add [RESOLVED] to the topic title so future users will know there's a solution in the thread?
-
Hello,
i have the same issue:
root@Omega-0417:~# opkg install pyOnionI2C
Unknown package 'pyOnionI2C'.
Collected errors:
opkg_install_cmd: Cannot install package pyOnionI2C.
root@Omega-0417:~#
root@Omega-0417:~# oupgrade
Device Firmware Version: 0.1.4 b330
Checking latest version online...
Repo Firmware Version: 0.1.4 b330
Comparing version numbers
Device firmware is up to date!How to fix it? opkg update did not helped.