From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CAqsDyEvTGOfEwAAbAwnHQ (envelope-from ) for ; Sun, 16 Oct 2022 18:19:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4Hd/DyEvTGPMFwAAauVa8A (envelope-from ) for ; Sun, 16 Oct 2022 18:19:45 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 041A9ECB5 for ; Sun, 16 Oct 2022 18:19:45 +0200 (CEST) Received: from localhost ([::1]:58156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok6MZ-0005Zo-Ex for larch@yhetil.org; Sun, 16 Oct 2022 12:19:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok6Ho-0003jq-QF for help-guix@gnu.org; Sun, 16 Oct 2022 12:14:48 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:38082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok6Hn-0008VY-09 for help-guix@gnu.org; Sun, 16 Oct 2022 12:14:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=bfiqqiKrhmdh7 /BfJZzPRsMi9NGEpXL3Ju2orY2ktjg=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=iCWw4YyZosequazO18e6iBrejjbXd1XtLFzkRB 2fPVtoxp4RNCA//hZbkTIJzYKZmMfUR6DbqIwBIOz9bzSD6PhURh68kLn6pmLK+3JIVoBr 2Qa916JMF/Q7UyGseOHfxq2O+Rx0fCe7EPIYamCDrSJCKCRMQhWJLp0QIv8eedAfW3CsHc nlqMWXoYwbs+XJjhKDWciSuoXvGXN7CQoDAe69kMuiaDEkhZ/CzqSHvSJFWfrN0vU2CMtT lIOEGPGzKeZdep3f0n3itiQEaJhnQsTqZ2UK7gliq5fGuBL331setu2qefA9O+A6IhFHxG ZOkxoIk3CAzJOOMm2VELzaJg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 14e01daa (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 16 Oct 2022 16:14:34 +0000 (UTC) References: <87k04zeqsx.fsf@elephly.net> <98639a5072b42ebedb57275086836d0117f44d82.camel@courrier.dev> From: Tobias Geerinckx-Rice To: Pradana Adrinusa AUMARS Cc: Ricardo Wurmus , help-guix@gnu.org Subject: Re: Python subprocess fails to execute Pip-installed module Date: Sun, 16 Oct 2022 17:50:41 +0200 In-reply-to: <98639a5072b42ebedb57275086836d0117f44d82.camel@courrier.dev> BIMI-Selector: v=BIMI1; s=default; Message-ID: <871qr7zqw6.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665937185; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bfiqqiKrhmdh7/BfJZzPRsMi9NGEpXL3Ju2orY2ktjg=; b=TSVj2AZGyDeyuv8m0vDO/b/neLtvY55fSYv1FGMaCks5JJvoziIzWJ7O5kQMIbHGRuoI7K lofXazVp3D8MUTk3erZv6zznjAnv8ZjUiVMsVN6HyTvW05aT3tfUs8mCPnndUo6Sq0FCLX lO8oQ0/IL2lKl8UXEWQP0XoePjlUtBcRP4AP2QFjR/g+QrQFCOsyjOCX+fUdgmJ2u+xffs MI70lp4nvfyYHfY3Yhq2SaoBwvc3Cmdag6zjOCuhLrKSlOm+qQZoYRk2WYiQCUuv5j9kfr c25SP8aRmt5SyJRUY1VLfr+4uVoyKPNx7+/txxfpS6xhrBHDsg7KizftJpMtww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665937185; a=rsa-sha256; cv=none; b=cWgx+4zGRUrExeY7hkmivXcRNJXct3uuGUaYwyRQaunE0oHMsfJ2M9qL5ivFNsDljHGahU pmegM2MzgzhY1x/7ayOmJKNhssdxpxX0n0X4A8KFlOgIc3VwpX2UB3TPFor0l8iCayTkZI G+f+UwkkWLFOmAxDCoH+MUs0xYzL4Ch6nmx1kB3eZw71GGrxyfzgUJck4enUO5UULN5Gjf j8iaqEnQl5axPok2wf171fQRZtm5rkYxnypn3eioqlYlgHPO7Oa6bV4yDprmIfd1yLGr0P Oxnr1As7Mu/c/cE0e403Cd6XY+H0DHjeOc0EPHc98Y9yCAT0D82Oohx6sv5Fmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=iCWw4YyZ; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=iCWw4YyZ; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 041A9ECB5 X-Spam-Score: -5.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: cc5ZyI7A+fJG --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Pradana, Pradana Adrinusa AUMARS =E5=86=99=E9=81=93=EF=BC=9A > dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for And this file doesn't exist. Prebuilt binary blobs don't mix well with Guix for this reason:=20 they hard-code file names such as this one. One (brand-)new work-around is $ guix shell -CF [PACKAGE=E2=80=A6] [-- your command line] E.g., $ guix shell -CF -- ./hello # random binary downloaded from=20 Debian Hello, world! which creates a virtual, backwards-compatible directory layout=20 within the container. This is a (glorious) hack, but it's no substitute for proper Guix=20 packaging! > outputs that bash cannot find this file. That error is criminally misleading. =E2=80=98A=E2=80=99 file, but not =E2= =80=98this=E2=80=99=20 file. :-/ Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY0wuGg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15ujgBAKI1oE3ngM2pmMp2kcz1p6VQ5kK9ntbHzKTeWkh4 eCLQAQDyg7Z0cIOx4y4L3DV/A/AaEs4MzXJPi+fH9LDDeTERAg== =uDXk -----END PGP SIGNATURE----- --=-=-=--