You must have GNU Octave installed and in your PATH (see instructions below). Additionally, you must have the Numpy and Scipy libraries installed. On Windows, you can get the install files here.
The best way to install this library is by using pip:
pip install oct2py
On Linux platforms, try your package manager, or follow the instructions from Octave.
On Windows, download the latest MinGW or .NET version. The MinGW version requires the 7zip program for installation. Finally, to add Octave to your path. You can do so from the Environmental Variables dialog for your version of Windows, or set from the command prompt:
setx PATH "%PATH%;<path-to-octave-bin-dir>