[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem by Octave-cli
From: |
Kai Torben Ohlhus |
Subject: |
Re: Problem by Octave-cli |
Date: |
Tue, 19 May 2020 12:13:44 +0900 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 5/19/20 4:48 AM, Khosravi, Nika wrote:
> Hi,
>
> I've installed Octave for using it on jupyter notebook. The octave
> kernel seems to be installed already but it does not work. In other
> words, the kernel is not executable.
>
> It keeps telling me that: Octave-cli not found!
>
> I found only one solution online : We require
> the |octave-cli| executable to run the kernel. Add that executable's
> directory to the |PATH| environment variable or use
> the |OCTAVE_EXECUTABLE| to point to the executable itself. Note that on
> Octave 5 on Windows, the executable is in |"Octave-5.x.x.x\mingw64\bin"|.
>
> I tried to add that executable's directory to the |PATH| environment
> variable but it did not work for me or I did not do it as I suppose to
> and I have no idea how to use the |OCTAVE_EXECUTABLE.|
>
> I would be very thankful if you could help me with this.
>
>
> Regards,
>
> Nika
>
If you start jupyter notebook from cmd.exe, you can type this
set OCTAVE_EXECUTABLE=C:\Octave\Octave-5.x.x.x\mingw64\bin\octave-cli.exe
before starting jupyter notebook. Otherwise, you can try to set
"octave-cli.exe" to your PATH environment variable and to create a new
environment variable OCTAVE_EXECUTABLE with the value above.
HTH,
Kai