Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: yogi_al on November 04, 2015, 02:33:21 PM

Title: Getting python error cannot import name GUdev
Post by: yogi_al on November 04, 2015, 02:33:21 PM
Hi,

I am running a python script to communicate with the serial port. Am getting Import error: cannot import name GUdev. I have installed python and pygobject but it doesn't contain the GUdev module. Any other package that has this module?

Thanks.
Title: Re: Getting python error cannot import name GUdev
Post by: gerald_clark on November 04, 2015, 03:17:43 PM
Use Apps provides function.
Title: Re: Getting python error cannot import name GUdev
Post by: Juanito on November 04, 2015, 07:40:22 PM
The gudev-gir extension in corepure64 contains the files you're looking for, but I'm not sure there's an equivalent extension in the x86 repo?
Title: Re: Getting python error cannot import name GUdev
Post by: yogi_al on November 05, 2015, 07:08:52 AM
I tried the Apps provides function, but it didn't show up anything.

Yes I need it for x86.
Title: Re: Getting python error cannot import name GUdev
Post by: Juanito on November 05, 2015, 12:49:18 PM
I suggest you pm the maintainer of the udev-lib extension to request the gir files.