help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no binary for interpreter `python' found in $PATH


From: Fredrik Salomonsson
Subject: Re: no binary for interpreter `python' found in $PATH
Date: Sat, 30 Oct 2021 22:57:30 +0000

Hi Ricardo,

Ricardo Wurmus <rekado@elephly.net> writes:

> Hi Fredrik,
>
>>     (inputs `(("python" ,python)
> […]
>> patch-shebang: 
>> /gnu/store/ddqy6n4br1snnv57cxybdmycgyc2h01f-picmover-1.2.4/bin/picmover: 
>> warning: no binary for interpreter `python' found in $PATH
> […]
>> I've probably missed something obvious in my package definition 
>> but I
>> cannot see what. Shouldn't the inputs field add python to the 
>> $PATH?
>> Does anyone know what I'm missing?
>
> The “python” package only provides the “python3” executable, not 
> “python”.  The “python-wrapper” package is just like the “python” 
> package, except that it adds the “python” executable that upstream 
> does not include in the default build of Python.
>
> -- 
> Ricardo

Ah, that make sense. And switching to that, i.e

     (inputs `(("python" ,python-wrapper)

fixed the issue. Thank you for the help!

-- 
s/Fred[re]+i[ck]+/Fredrik/g



reply via email to

[Prev in Thread] Current Thread [Next in Thread]