So, I'm trying to use oct2py on Windows, like so:
from oct2py import octave
That's literally the only code I need to reproduce the error.
When I execute this, I get OSError: Octave Executable not found, please add to path or set"OCTAVE_EXECUTABLE" environment variable. However, I have already set OCTAVE_EXECUTABLE as a system variable, which points to "C:\Octave\Octave-4.4.1\bin\octave-cli-4.4.1.exe". Opening up the command line and running %OCTAVE_EXECUTABLE% gives me the Octave CLI, so I know it's right.
I've tried rebooting. I've also tried adding the Octave folder to my Path and removing OCTAVE_EXECUTABLE. Neither work.
EDIT: I've also tried using just octave-cli.exe, and I've tried doing print(os.environ['OCTAVE_EXECUTABLE']), which returns the expected path.
Any ideas here?