Posts tagged: virtualbox sdk exception “No VBOX_INSTALL_PATH defined

How to install the Virtualbox SDK

Download and extract the SDK package. The target directory will be sdk.

If we try to execute directly the installer we will get:

python sdk/installer/vboxapisetup.py install
Traceback (most recent call last):
  File "sdk/installer/vboxapisetup.py", line 88, in <module>
    main(sys.argv)
  File "sdk/installer/vboxapisetup.py", line 61, in main
    raise Exception("No VBOX_INSTALL_PATH defined, exiting")
Exception: No VBOX_INSTALL_PATH defined, exiting

To install correctly we have to launch locally the install script.

cd sdk/installer
export VBOX_INSTALL_PATH=$(which virtualbox)
sudo -E python vboxapisetup.py install

WordPress Themes