No module named libavg.

Asked by Oliver Webb

Hi,

I'm currently trying to get the Python client (1.3.1) working on Debian. I did briefly manage this on virtual machine but now can't get it to work.

I've updated the dependencies to the right versions for Debian, and ran the script.

The error when I try and run it is:

Traceback (most recent call last):
  File "XiboClient.py", line 24, in <module>
    from libavg import avg, anim
ImportError: No module named libavg

I've made sure the package is being downloaded and extracted properly by the script, so I'm not sure what else to look for.

I know you don't support Debian, but I'd really appreciate any help you can give me on this.

Many thanks,

Ollie

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Oliver Webb
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

If I had to guess the version of Debian you're using is on Python 2.7 and the binaries we provide are for 2.6 only.

As you say, the binaries are specifically built for Ubuntu 10.04. A version of debian of a similar age may work as they're of common descent but I don't have time to setup a debian machine to test.

Any reason you can't use the supported version of Ubuntu?

Alex

Revision history for this message
Oliver Webb (owebb) said :
#2

We've changed our network to Debian, and some of the machines that we're using to run Xibo also need to be used as normal PC's occasionally for assemblies etc. Ideally we want all the machines to be the same. It's not the end of the world though.

It looks like I am using python 2.7, I'll change to 2.6 and retry. Thanks for your help.

Ollie

Revision history for this message
Oliver Webb (owebb) said :
#3

Yep, did the trick. Had missed a couple of dependencies as well, but it's working well now.

Thanks again.

Ollie