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'> >>>
Try importing avg instead of libavg:
$ python python2. 5/site- packages/ libavg/ avg.so' >
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/
>>>