Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: octave-cli not found, please see README #188

Open
oxavierq opened this issue Mar 19, 2021 · 2 comments
Open

OSError: octave-cli not found, please see README #188

oxavierq opened this issue Mar 19, 2021 · 2 comments

Comments

@oxavierq
Copy link

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_****

@Anirudh2305
Copy link

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

@nyambol
Copy link

nyambol commented Nov 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants