From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mGvuEotWTGOMNwEAbAwnHQ (envelope-from ) for ; Sun, 16 Oct 2022 21:07:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IIbYEotWTGM4rwAAauVa8A (envelope-from ) for ; Sun, 16 Oct 2022 21:07:55 +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 DA044156F6 for ; Sun, 16 Oct 2022 21:07:54 +0200 (CEST) Received: from localhost ([::1]:45180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok8zJ-0002FG-WA for larch@yhetil.org; Sun, 16 Oct 2022 15:07:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok8xT-0002EY-Pr for help-guix@gnu.org; Sun, 16 Oct 2022 15:06:00 -0400 Received: from mail.42l.fr ([45.155.171.163]:45536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok8lG-00064v-8n for help-guix@gnu.org; Sun, 16 Oct 2022 14:53:23 -0400 Message-ID: <8d054eb211fd79040d5238c08f1a8e130fd11d2e.camel@courrier.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=courrier.dev; s=mail; t=1665946398; bh=M6V+vWnYkPgz67hwIiJacp3tOY0vMEfRrrzfHN23jSo=; h=Subject:From:To:Cc:In-Reply-To:References; b=SUF+nF8x9I9xbLBkMMix70exHNpD1oG6F+8T26KTYeAUKseqG8Vzcigc7/yHkbSH3 y5UNxCefAjGkiSdaNqFauwU/m4m1GYYAxSo7Oqm6WaamHBldtb2zEbK3mXJ+6FWCgU +s7GS1sEcEkeVIfaMkhN6JUyFf8I0RwP99NkzQqdlkYB1xQar5Zo5N4CusFrXca44S xW04NLoVxT1a+CAbkEIcuD2Uv67/WsfHg077YGcpFZv8Bwb/xS6R9H8sHXTr3UnXBD Y8iwQFTmZMgRR4L7Z5FAYT4dfGpI+cDr9Hr7hc/9/6oUuXLpNos24SJnIk0EsgKp1D fLkOC+IBPAzNQ== Subject: Re: Python subprocess fails to execute Pip-installed module From: Pradana Adrinusa AUMARS To: Tobias Geerinckx-Rice Cc: Ricardo Wurmus , help-guix@gnu.org Date: Sun, 16 Oct 2022 20:53:17 +0200 In-Reply-To: <871qr7zqw6.fsf@nckx> References: <87k04zeqsx.fsf@elephly.net> <98639a5072b42ebedb57275086836d0117f44d82.camel@courrier.dev> <871qr7zqw6.fsf@nckx> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=45.155.171.163; envelope-from=SRS0=qoCc=2R=courrier.dev=paumars@42l.fr; helo=mail.42l.fr X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1665947274; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=N8c9qtcV8wII6YulXUlvjVnSBkE4WBoEH1CgAtlCkTA=; b=Lv686s0RdBBGvbuyOjiaazC/0+oQjJISYuWtdmUOB40BlG2RHkQ8Q/Zwo/qDL4uH9f19vq n1iP2NRaptr0cfBI1B7kwr6IBj9TN+L2n7HPYvI63EIMgzXohh7U63Syh2eJWyv6iLACrn rprE+Q2oob3hWKOiDHzVTdRdhyafguOemWRVjGrmdMvoA+rhuhbAqyhctuzIVlevZIhvVx TBvDGU8M9kAqKXoobU3g7jS2kfJhmyGApFXnaY9Xc1auuYQUt6ZaDE4KbcZL8oN8i1V1Z9 JmI2IYKiB64LkZMpLAeY3hWA/Or8A/ytOH/r+rscf6jxW7AZyslyOkHs5P9C9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665947274; a=rsa-sha256; cv=none; b=tz8pt/DgfNUzwG+8cdjiYcjWrU/w4Hra32qhQsrmFGLvHTEs5ud13kG/CHH7oCXdQSjzJ6 k7PcwQO1bO29vgLXqh4Nj9BWzC3mquhWi31oljDgcxEMfN4jKGzS90uRMVOCK5xhXmON1z GgiOo7g7D8ZalxKHNbO62EsgMFD2S5lSRulBDV4qjtBfsZ5CTag4dBmMi2QRqKKyWQP5Uz 7Z4CFSlbu/pR60dl/yjjf2bcq5X74hHY00XViEmo9AFcCL6B+TBs05to9UyBMhpMwI16el JP9nFlVpQLM7v+cUB1zRrCuCrz1pUkr8S5fMkZj1dyHMuGtTk6FTtUTtYcg36Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=courrier.dev header.s=mail header.b=SUF+nF8x; dmarc=pass (policy=quarantine) header.from=courrier.dev; 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: -4.91 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=courrier.dev header.s=mail header.b=SUF+nF8x; dmarc=pass (policy=quarantine) header.from=courrier.dev; 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: DA044156F6 X-Spam-Score: -4.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: EFskmFH8DcTx Thank you for the explanation, Ricardo, Thank you for the explanation Tobias, I tried a simple solution by finding where my "ld" is located with "whereis" and a symbolic link to "/lib64/ld-linux-x86-64.so.2". Unfortunately, I get an Error 80 which means it used a corrupted shared library. I think it's better to package Ray natively into Guix, but it's time- consuming since Ray is not a simple Python package. I was hoping for a temporary solution, but I don't think I can find one. I'll try to use another machine to make this project run. Thank you anyways. Le dimanche 16 octobre 2022 à 17:50 +0200, Tobias Geerinckx-Rice a écrit : > Hi Pradana, > > Pradana Adrinusa AUMARS 写道: > > 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: > they hard-code file names such as this one. > > One (brand-)new work-around is > >   $ guix shell -CF [PACKAGE…] [-- your command line] > > E.g., > >   $ guix shell -CF -- ./hello # random binary downloaded from >   Debian >   Hello, world! > > which creates a virtual, backwards-compatible directory layout > within the container. > > This is a (glorious) hack, but it's no substitute for proper Guix > packaging! > > > outputs that bash cannot find this file. > > That error is criminally misleading.  ‘A’ file, but not ‘this’ > file.  :-/ > > Kind regards, > > T G-R