[ubuntu-studio-users] Next Gimp issue - no python
BabsKy
babs.keeley at gmail.com
Mon May 11 17:58:57 UTC 2020
All 'python' commands (tried a few variations) returned "command 'python'
not found",
'python3 --version' returned 'Python 3.8.2'.
I think it's Gimp python as this has been an issue before, as I mentioned,
but I don't know what specifically to install, it doesn't seem to be 'Gimp
python' as it was before.
I've tinkered with thonny for writing python scripts for Gimp and it that
it was pygimp but I'm stumped. I don't want to randomly install stuff in
case I make it worse.
On Mon, 11 May 2020 at 17:58, Ross Mohn <rpmohn at waxandwane.org> wrote:
> Here are the steps I used:
>
> 1. Check current system python version is 2.x
> sudo python --version
> 2. Execute this command to switch to python3
> sudo update-alternatives --install /usr/bin/python python
> /usr/bin/python3 1
> 3. Verify system python version is now 3.x
> sudo python --version
>
> based on steps I found in this post:
>
> https://unix.stackexchange.com/questions/410579/change-the-python3-default-version-in-ubuntu
>
> -Ross
>
>
> On 5/11/20 12:10 PM, BabsKy wrote:
>
> I'm surprised that python (for Gimp) isn't installed by default on Linux,
> that's what's caused this issue before.
> I'll try anything to get it working, python plays a large part of my Gimp
> workflow.
> Sorry to ask but how would I manually set python3 as the default?
>
> On Mon, 11 May 2020 at 16:54, Ross Mohn <rpmohn at waxandwane.org> wrote:
>
>> Can you try 'python3'? On a side note, I was surprised that python3 was
>> note the default in the upgrade. I had manually set python3 as the default
>> in my 19.10 and that was switched back to python 2.x when I upgraded.
>>
>> -Ross
>>
>>
>> On 5/11/20 7:38 AM, BabsKy wrote:
>>
>> So I did a clean install and Gimp now loads and works mostly OK. The
>> issue now is it can't find python.
>> I know this has been an issue with Gimp on Linux previously and it could
>> be solved by 'sudo apt install gimp-python', but this doesn't work.
>>
>> Output from terminal '/usr/bin/env: ‘python’: No such file or directory'
>> I can see there's no env in bin.
>> Does anyone know how to fix this please?
>> I have searched online but the solutions aren't relevant to the current
>> Gimp version/Linux.
>>
>>
>>
>> --
>> ubuntu-studio-users mailing list
>> ubuntu-studio-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
>>
>
>
> --
> ubuntu-studio-users mailing list
> ubuntu-studio-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-studio-users/attachments/20200511/3d5adf96/attachment-0001.html>
More information about the ubuntu-studio-users
mailing list