The octave application has to be in your path (or more precisely, the
PATH variable used by Sage).

In the notebook, you can see what PATH Sage is using by putting this
into a cell:

%sh
echo $PATH

In my case - using a mac with the Octave app inside a folder /
Applications/Octave/, I could do

sudo ln -s /Applications/Octave/Octave.app/Contents/Resources/bin/
octave /usr/local/binoctave

and it would then work in Sage, since /usr/local/bin is in the PATH
that Sage uses.

Hope that helps,
Marshall Hampton

On Oct 20, 7:52 pm, Jaasiel Ornelas <[email protected]> wrote:
> Hi!
> I'm trying to access Octave thru the worksheet, but I get the error:
>
> RuntimeError: Unable to start octave
>
> I already made a symlink linking /opt/local/bin/octave to /
> Applications/sage/local/bin/octave, but that didn't work. Am I using
> the wrong PATH?
>
> Also, I set up octave using macports, so I can run octave from the
> prompt by just typing 'octave', so I don't get why I would have to
> make a symlink.
>
> Any help is appreciated.
>
> -Jaasiel

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to