04-03-2025, 09:57 PM
I agree it's likely a flatpak problem but I'm not entirely sure.
If I execute the following
flatpak run --user --command=bash org.gimp.GIMP
I get a bash prompt that has a little package symbol and says org.gimp.Gimp
If I execute
echo $PYTHONPATH
it looks correct.
If I type python the python console loads but with errors:
Could not open PYTHONSTARTUP
FileNotFoundError: [Errno 2] No such file or directory: '/etc/pythonstart'
if I then type
import package_name
it imports the package.
So it doesn't seem to be a problem the flatpak itself finding the modules.
If I execute the following
flatpak run --user --command=bash org.gimp.GIMP
I get a bash prompt that has a little package symbol and says org.gimp.Gimp
If I execute
echo $PYTHONPATH
it looks correct.
If I type python the python console loads but with errors:
Could not open PYTHONSTARTUP
FileNotFoundError: [Errno 2] No such file or directory: '/etc/pythonstart'
if I then type
import package_name
it imports the package.
So it doesn't seem to be a problem the flatpak itself finding the modules.