Python 2.7.1 (r271:86832, Jun 25 2011, 05:09:01) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from vboxapi import VirtualBoxManager >>> g_VBoxmgr = VirtualBoxManager(None, None) Traceback (most recent call last): File "", line 1, in File "/Library/Python/2.7/site-packages/vboxapi/__init__.py", line 513, in __init__ exec "self.platform = Platform"+style+"(platparams)" File "", line 1, in File "/Library/Python/2.7/site-packages/vboxapi/__init__.py", line 349, in __init__ import xpcom.vboxxpcom File "/Applications/VirtualBox.app/Contents/MacOS/sdk/bindings/xpcom/python/xpcom/vboxxpcom.py", line 47, in raise Exception, "Cannot find VBoxPython module" Exception: Cannot find VBoxPython module >>> VBOXVER_MAJOR = int(g_VBoxmgr.vbox.version.split('.')[0]) Traceback (most recent call last): File "", line 1, in NameError: name 'g_VBoxmgr' is not defined >>> VBOXVER_MINOR = int(g_VBoxmgr.vbox.version.split('.')[1]) Traceback (most recent call last): File "", line 1, in NameError: name 'g_VBoxmgr' is not defined >>> VBOXVER_STR = g_VBoxmgr.vbox.version Traceback (most recent call last): File "", line 1, in NameError: name 'g_VBoxmgr' is not defined >>> VBOXVER_FLOAT = float(str(VBOXVER_MAJOR)+'.'+str(VBOXVER_MINOR)) Traceback (most recent call last): File "", line 1, in NameError: name 'VBOXVER_MAJOR' is not defined