python i2c
-
I have been using the python i2c module and it's been working fine. However even if I start from factory default
E.G
firstboot -y
sync
reboot
wifisetup
opkg update
opkg install python
opkg install pyOnionI2CI then get
root@Omega-E941:~# python
Python 2.7.13 (default, Sep 18 2017, 20:32:03)
[GCC 5.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.from OmegaExpansion import onionI2C
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: Error relocating /usr/lib/python2.7/OmegaExpansion/onionI2C.so: i2c_writeBufferRaw: symbol not foundIf anyone has any idea's as to what may be the problem I'd appreciate it
Thanks
Paul
-
I believe I know what the problem is. The latest i2C packages are broken
pyOmegaExpansion_0.5-1_mipsel_24kc.ipk
pyOnionI2C_0.5-1_mipsel_24kc.ipkHave the problem I described. I dropped back to
pyOmegaExpansion_0.4-1_mipsel_24kc.ipk
pyOnionI2C_0.4-1_mipsel_24kc.ipkAnd the problem went away.