I have installed the oct2py package using the pip command pip install oct2py, set the environement path of python, pip and octave as in the following picture:
pip install oct2py