-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Octave installed via flatpak is not found #323
Comments
Hi @bagustris, have you tried setting |
There is no information how to set (asd) bagus:~$ OCTAVE_EXECUTABLE='/var/lib/flatpak/exports/bin/org.octave.Octave'
(asd) bagus:~$ python
Python 3.9.19 | packaged by conda-forge | (main, Mar 20 2024, 12:50:21)
[GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import oct2py
octave not found, please see README
>>> |
From the README, "Alternatively, you can set an OCTAVE_EXECUTABLE or OCTAVE environment variable that points to octave executable itself.". Is |
Yes, it is executable. I can run octave cli mode from that file.
|
I'm not sure then, I'm not familiar with flatpack. |
The newest Octave usually is easier to install via Flatpak, but using this way
oct2py
cannot recognize the installed Octave.I also already make an alias for
octave
to point octave installed from flathub and it can called directly from terminal usingoctave
command. I also already updated my PATH to include binary of octave in flatpak (export PATH="/var/lib/flatpak/exports/bin:$PATH"
).Is there any step to link the octave installed from Flatpak to this oct2py?
I am using Ubuntu 20.4 with the latest Octave version 9.2.0
I suspect the error probably is caused by different names of binaries, i.e.,
octave
vsorg.octave.Octave
The text was updated successfully, but these errors were encountered: