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 I tried to add that executable's directory to the I would be very thankful if you could help me with this.
Regards, Nika |
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 |
Hi Kai,
thank you for answering. I tried this "set OCTAVE_EXECUTABLE=C:\Octave\Octave-5.x.x.x\mingw64\bin\octave-cli.exe" but it didn't work :( How can I set "octave-cli.exe" to my PATH environment variable?
Regards, Nika
Von: Kai Torben Ohlhus <[hidden email]>
Gesendet: Dienstag, 19. Mai 2020 05:13:44 An: Khosravi, Nika Cc: [hidden email] Betreff: Re: Problem by Octave-cli 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 |
Am 19. Mai 2020 um 10:15 Uhr schrieb "Khosravi, Nika":
> Hi Kai, > > thank you for answering. I tried this "set OCTAVE_EXECUTABLE=C:\Octave\Octave-5.x.x.x\mingw64\bin\octave-cli.exe" but it didn't work :( I'm pretty sure the "x.x.x" in the path that you wrote in your original message was a place holder for the version you installed. For Octave 5.2.0, the path to the executable would be: "C:\Octave\Octave-5.2.0\mingw64\bin\octave-cli.exe" So for that version, you would issue the following command: set OCTAVE_EXECUTABLE="C:\Octave\Octave-5.2.0\mingw64\bin\octave-cli.exe" Did you try with the correct path for the version you installed? > How can I set "octave-cli.exe" to my PATH environment variable? There are many instructions online that guide you through the process. Chose the one you like most: https://www.google.com/search?q=add+to+the+path+on+windows+10 HTH, Markus |
Hi Markus,
Ja! That was the problem. Now it's working. Thank you 😊
Von: "Markus Mützel" <[hidden email]>
Gesendet: Dienstag, 19. Mai 2020 10:38:21 An: Khosravi, Nika Cc: Kai Torben Ohlhus; [hidden email] Betreff: Re: Problem by Octave-cli Am 19. Mai 2020 um 10:15 Uhr schrieb "Khosravi, Nika":
> Hi Kai, > > thank you for answering. I tried this "set OCTAVE_EXECUTABLE=C:\Octave\Octave-5.x.x.x\mingw64\bin\octave-cli.exe" but it didn't work :( I'm pretty sure the "x.x.x" in the path that you wrote in your original message was a place holder for the version you installed. For Octave 5.2.0, the path to the executable would be: "C:\Octave\Octave-5.2.0\mingw64\bin\octave-cli.exe" So for that version, you would issue the following command: set OCTAVE_EXECUTABLE="C:\Octave\Octave-5.2.0\mingw64\bin\octave-cli.exe" Did you try with the correct path for the version you installed? > How can I set "octave-cli.exe" to my PATH environment variable? There are many instructions online that guide you through the process. Chose the one you like most: <a href="https://www.google.com/search?q=add+to+the+path+on+windows+10">https://www.google.com/search?q=add+to+the+path+on+windows+10 HTH, Markus |
In reply to this post by mmuetzel
I'm having similar issues on a Mac. Can someone help me with this?
How do you use OCTAVE_EXECUTABLE for a Mac? I have Mac 10.14.6 -- Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html |
Free forum by Nabble | Edit this page |