Missing module xpcom fix,
Traceback (most recent call last):
File "vmc.py", line 24, in <module>
vbox = virtualbox.VirtualBox()
File "/usr/local/lib/python2.7/dist-packages/pyvbox-1.3.2-py2.7.egg/virtualbox/library_ext/vbox.py", line 22, in __init__
manager = virtualbox.Manager()
File "/usr/local/lib/python2.7/dist-packages/pyvbox-1.3.2-py2.7.egg/virtualbox/__init__.py", line 143, in __init__
self.manager = vboxapi.VirtualBoxManager(mtype, mparams)
File "/usr/local/lib/python2.7/dist-packages/vboxapi/__init__.py", line 989, in __init__
self.platform = PlatformXPCOM(dPlatformParams)
File "/usr/local/lib/python2.7/dist-packages/vboxapi/__init__.py", line 750, in __init__
import xpcom.vboxxpcom
ImportError: No module named xpcom.vboxxpcom
To fix, should work on Linux and Mac:
export PYTHONPATH=$PYTHONPATH:/usr/lib/virtualbox/:/usr/lib/virtualbox/sdk/bindings/xpcom/python/