[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing the symbolic package
From: |
Mike Miller |
Subject: |
Re: Installing the symbolic package |
Date: |
Sat, 22 Aug 2015 22:24:37 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sat, Aug 22, 2015 at 15:46:41 -0400, Samuel Dupree wrote:
> Now Octave for whatever reason is getting python from /usr/bin/python and I
> need to somehow get Octave to get python from /Users/user/anaconda. So the
> question is how does one point Octave to /Users/user/anaconda to get python?
This probably simply depends on the PATH present in Octave's
environment. Is it different from the PATH in your shell? There are many
reasons why that might be. Compare the shell with Octave:
$ echo $PATH
$ which python
vs
>>> getenv PATH
>>> system ("which python");
You may need to arrange for Octave to inherit PATH from your shell
environment if it's not the same for whatever reason. Perhaps when you
open a terminal your shell initializes its environment differently from
however you are launching Octave?
When I've used Anaconda, I've installed it in $HOME/anaconda and added
$HOME/anaconda/bin to PATH in my ~/.profile. This ensures that it's in
my environment when I log in on Linux, not just in the shell in a
terminal.
--
mike
- Installing the symbolic package, Samuel Dupree, 2015/08/21
- Re: Installing the symbolic package, tmacchant, 2015/08/22
- Re: Installing the symbolic package, Samuel Dupree, 2015/08/22
- Re: Installing the symbolic package, tmacchant, 2015/08/22
- Re: Installing the symbolic package, tmacchant, 2015/08/22
- Re: Installing the symbolic package, Samuel Dupree, 2015/08/22
- Re: Installing the symbolic package,
Mike Miller <=
- Re: Installing the symbolic package, Samuel Dupree, 2015/08/23
- Re: Installing the symbolic package, Mike Miller, 2015/08/26