id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host 10110,Python bindings not properly installed under Ubuntu Server,nex,,"When trying to install VirtualBox 4.1.8 on Ubuntu Server Oneiric and Ubuntu Server Natty, the Python bindings suffer some installation issues. When using the multi-distro installer (.run) the file VBoxPython.so located at /opt/VirtualBox seems to be not correctly linked to the proper local Python version and it causes and ImportError when trying to use vboxapi. A workaround fix is to remove VBoxPython.so and make a symlink of VBoxPython2_7.so to VBoxPython.so. Seems like the candidates in /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/vboxxpcom.py: {{{ candidates = ['VBoxPython' + str(sys.version_info[0]) + '_' + str(sys.version_info[1]), 'VBoxPython' + str(sys.version_info[0]), 'VBoxPython'] }}} Are not executed in a proper order or are not matching the correct version. When using the Ubuntu .deb installer this problem doesn't occur, but the bindings paths are not correctly installed or globally added to PYTHONPATH. A workaround fix is to add the following line in ~\.bashrc: export PYTHONPATH=$PYTHONPATH:/usr/lib/virtualbox/:/usr/lib/virtualbox/sdk/bindings/xpcom/python/ ",defect,closed,other,VirtualBox 4.1.8,worksforme,Python Bindings,,Windows,Linux