octave_kernel icon indicating copy to clipboard operation
octave_kernel copied to clipboard

OSError: octave-cli not found, please see README

Open oxavierq opened this issue 3 years ago • 2 comments

I have installed Jupyter notebook, using anaconda, and install Octave dmg 6.2. I can run the octave GUI from the application folder. I can also run Python from the Jupyter notebook with no issues.

Problem: I can select Octave from Jupyter, but none of the lines work.

When I look at the Terminal I see this error: OSError: octave-cli not found, please see README

there is a lot of guidance on changing paths for this file to work in windows, but not very clear for Mac. I'm fairly new to this, and I'm sure I don't have something set up correctly. I run a check to show more details:

**python -m octave_kernel.check Octave kernel v0.32.0 Metakernel v0.27.5 Python v3.8.5 (default, Sep 4 2020, 02:22:02) [Clang 10.0.0 ] Python path: /Users/xavier/opt/anaconda3/bin/python

Connecting to Octave... Octave connection established octave-cli not found, please see README_****

oxavierq avatar Mar 19 '21 19:03 oxavierq

I'm also getting the same error. Have you made any progress ?

Anirudh2305 avatar Oct 30 '21 08:10 Anirudh2305

octave from the command line runs octave.vbs in the top-level install directory. The .exe is in C:\Program Files\GNU Octave\Octave-6.3.0\mingw64\bin\. You'll have to put that directory in your path to find octave-cli.exe. To get the CLI normally, you run octave --no-gui, which calls the vbs script. Probably good to make sure that the path search hits the C:\Program Files\GNU Octave\Octave-6.3.0\ first, so that octave still calls the script. Otherwise, some command line options might not work.

nyambol avatar Nov 05 '21 02:11 nyambol