unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Pradana Adrinusa AUMARS <paumars@courrier.dev>
Cc: help-guix@gnu.org
Subject: Re: Python subprocess fails to execute Pip-installed module
Date: Sun, 16 Oct 2022 17:21:52 +0200	[thread overview]
Message-ID: <87k04zeqsx.fsf@elephly.net> (raw)
In-Reply-To: <adb5e9a2476037e883fbb289aa0888577c6ecc4e.camel@courrier.dev>


Pradana Adrinusa AUMARS <paumars@courrier.dev> writes:

> Running:
>
> import ray
> ray.init()
>
> fails since Python's subprocess needs to run an executable located in
>
> ~/.local/lib/python3.9/site-packages/ray/core/src/ray/gcs/gcs_server
>
> So the error is narrowed down to:
>
> import subprocess
> subprocess.Popen(["/home/user/.local/lib/python3.9/site-packages/ray/core/src/ray/gcs/gcs_server"])

Do you get an error message?
Does this executable exist?

-- 
Ricardo


  reply	other threads:[~2022-10-16 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-16 11:38 Python subprocess fails to execute Pip-installed module Pradana Adrinusa AUMARS
2022-10-16 15:21 ` Ricardo Wurmus [this message]
2022-10-16 15:37   ` Pradana Adrinusa AUMARS
2022-10-16 15:50     ` Tobias Geerinckx-Rice
2022-10-16 18:53       ` Pradana Adrinusa AUMARS
2022-11-12 22:46         ` Python subprocess fails to execute Pip-installed module / Packaging Python Ray Pradana Adrinusa AUMARS

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k04zeqsx.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=paumars@courrier.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).