[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave unable to find python when using symbolic toolbox
From: |
Mike Miller |
Subject: |
Re: Octave unable to find python when using symbolic toolbox |
Date: |
Tue, 25 Feb 2020 15:30:10 -0800 |
On Tue, Feb 25, 2020 at 17:02:21 -0600, Vikram Garg wrote:
> However, the same command runs fine on my command prompt:
>
> *[vgarg@localhost ~]$ python3.6 -c "print(\"Python says hello\")"Python
> says hello*
Is there a reason you have set PYTHON in your environment to be
specifically "python3.6"? Instead of, say "python3"? Did you have that
set previously, or did you find that advice somewhere?
>
> I tried adding /usr/bin (where python3.6 is located) the path, but that
> hasnt helped:
>
> octave:18> path
> Octave's search path contains the following directories:
> .
> /usr/bin
Yeah, Octave's "path" is not the same as the shell PATH. That's not the
problem here.
> [vgarg@localhost bin]$ which python3.6
> /usr/bin/python3.6
>
> Any suggestions would be appreciated.
I am going to guess that you have installed Octave with Flatpak or Snap,
is that right?
If so, Octave does not have access to the /usr filesystem that is part
of your operating system, it is confined to its own /usr. You probably
want to try setting PYTHON to be "python3" instead of "python3.6".
--
mike
signature.asc
Description: PGP signature
- Octave unable to find python when using symbolic toolbox, Vikram Garg, 2020/02/25
- Re: Octave unable to find python when using symbolic toolbox, Colin Macdonald, 2020/02/25
- Re: Octave unable to find python when using symbolic toolbox,
Mike Miller <=
- Re: Octave unable to find python when using symbolic toolbox, Vikram Garg, 2020/02/25
- Re: Octave unable to find python when using symbolic toolbox, Mike Miller, 2020/02/25
- Re: Octave unable to find python when using symbolic toolbox, Kwan Lowe, 2020/02/25
- Re: Octave unable to find python when using symbolic toolbox, Vikram Garg, 2020/02/25
- Re: Octave unable to find python when using symbolic toolbox, Mike Miller, 2020/02/26
- Re: Octave unable to find python when using symbolic toolbox, Kwan Lowe, 2020/02/26
Re: Octave unable to find python when using symbolic toolbox, guidetti Porto, 2020/02/26