I don't know how this happens.
For normally running that example script using python, only from avc import *
is required
but for some reason pyinstaller does not finds avc.avcgtk module, so an additional dummy import is also required while creating standalone application with pyinstaller.
from avc import *
import avc.avcgtk