help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Solution] Point octave to anaconda python (Mac)


From: SolarPython
Subject: [Solution] Point octave to anaconda python (Mac)
Date: Mon, 20 Aug 2018 06:39:31 -0500 (CDT)

Hello @all,

I was looking for the possibility to point octave to the python installed by
anaconda on a Mac. I want to share with you the solution I've found.

I already found two posts about this:

http://octave.1599824.n4.nabble.com/Installing-the-symbolic-package-td4672222.html
http://octave.1599824.n4.nabble.com/Getting-Octave-to-use-Anaconda-Python-Environment-td4676345.html

The approach mentioned in the second one (installing sympy to the
system-python) did not work for me.

In the end I found the right command/path to the anaconda python.

Type in octave:

/setenv PYTHON /anaconda3/bin/python//
/sympref reset /
/sympref diagnose /

and it should work :)



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]