WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Getting python error cannot import name GUdev  (Read 2007 times)

Offline yogi_al

  • Newbie
  • *
  • Posts: 39
Getting python error cannot import name GUdev
« on: November 04, 2015, 05: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.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Getting python error cannot import name GUdev
« Reply #1 on: November 04, 2015, 06:17:43 PM »
Use Apps provides function.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Getting python error cannot import name GUdev
« Reply #2 on: November 04, 2015, 10: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?

Offline yogi_al

  • Newbie
  • *
  • Posts: 39
Re: Getting python error cannot import name GUdev
« Reply #3 on: November 05, 2015, 10:08:52 AM »
I tried the Apps provides function, but it didn't show up anything.

Yes I need it for x86.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Getting python error cannot import name GUdev
« Reply #4 on: November 05, 2015, 03:49:18 PM »
I suggest you pm the maintainer of the udev-lib extension to request the gir files.