Hi Boken Lin,
Thanks for your reply and yes I would like to see if it would be possible to cross-compile smbus-cffi on the Omega. smbus-cffi according to their site is just "cffi (C foreign function interface)-based python reimplementation of the python-smbus C-extension" : https://pypi.python.org/pypi/smbus-cffi
and the only reason that I'm interested in this module is just because It's one of the requirements for installing TSL2591 module.
It'll be awesome if there would a work around to compile this module somehow...Thanks.
Posts made by Mohammadamin Haghighatbin
-
RE: Installing Pysmbus and ccache_cc error
-
RE: Installing Pysmbus and ccache_cc error
Hi Everyone,
As I mentioned before, I'm trying to install Tsl2591 python module on onion omega, however, it requires smbus-cffi and it needs a C compiler and I'm getting "unable to execute 'ccache_cc' " error since we don't have any C compiler on onion. So now I'm thinking about compiling smbus-cffi and it's requirements on a cross-compiling environment and then install it as an opkg package on onion. Is this possible?! -
RE: Installing Pysmbus and ccache_cc error
Couldn't find a work around or solution yet...
-
RE: Installing Pysmbus and ccache_cc error
Hi Lazar and thanks for the quick reply,
That's right, it seems tsl2591 is getting installed properly but for smbus-cffi and pysimbus it's looking for a c compiler and that's where I'm getting this error.
-
Installing Pysmbus and ccache_cc error
Hi everyone,I'm working on a photo-sensing device using onion and Tsl2591 adafruit photosensing module, however, it seems tsl2591 requires pysmbus and smbus-cffi and I'm getting "unable to execute ccache_cc No such file or directory" every time I'm trying to install them...I read the other discussions about python wrapper and I2C, but this doesn’t sound to solve my problem…any suggestions?
https://github.com/maxlklaxl/python-tsl2591 -
RE: OLED expansion is not stackable
@Kit-Bishop said:
https://store.onion.io/collections/onion-omega-expansions/products/proto-expansion
Guys, I greatly appreciate your suggestions, you're both life savers... I just ordered a proto-expansion with 10% discount Thanks again...
-
RE: OLED expansion is not stackable
@Boken-Lin Thanks for your quick response,true,that makes sense...any suggestions on how we can use GPIOs and OLED at the same time without soldering?Thanks again
-
OLED expansion is not stackable
Hey Guys,
I got my Omega, dock and OLED expansion a couple of days ago, and I'm impressed with this wonderful creature!!! however, I expected that OLED expansion would be stackable similar to some photos on the website but mine is not, is there any other way to use the OLED expansion and GPIOs at the same time without soldering? (OLED expansion with some male-to-female jumper wires attached to that) , Thanks.