[Bug 174396] Re: ImportError: No module named libavg

2007-12-06 Thread Michael Bienia
Try importing avg instead of libavg:

$ python
Python 2.5.1 (r251:54863, Oct  5 2007, 13:50:07) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type help, copyright, credits or license for more information.
 import avg
 avg
module 'avg' from '/usr/lib/python2.5/site-packages/libavg/avg.so'


-- 
ImportError: No module named libavg
https://bugs.launchpad.net/bugs/174396
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 174396] Re: ImportError: No module named libavg

2007-12-06 Thread Tero Karvinen
Thanks Michael, import avg seems to work.

Someday I could register to libavg wiki and add this info to Getting
Started.

Minimal.py from Getting started still dumps core, but it's probably a
different problem.

-- 
ImportError: No module named libavg
https://bugs.launchpad.net/bugs/174396
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 174396] Re: ImportError: No module named libavg

2007-12-06 Thread Scott Kitterman
** Changed in: libavg (Ubuntu)
   Status: New = Invalid

-- 
ImportError: No module named libavg
https://bugs.launchpad.net/bugs/174396
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs