Sorry, I forgot to add the error message in the original mail... It throws a FileNotFoundError as FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.local/lib/python3.9/site-packages/ray/core/src/ray/gcs/gcs_server'
The executable exists, accessible by Python's os import os os.path.exists('/home/user/.local/lib/python3.9/site-packages/ray/core/src/ray/gcs/gcs_server') returns True Its file type is ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=59c99f77d9fc6566e51a86cbd63edf9f095abb70, not stripped Strangely enough, I cannot execute this binary directly, $ ./home/user/.local/lib/python3.9/site-packages/ray/core/src/ray/gcs/gcs_server outputs that bash cannot find this file. Le dimanche 16 octobre 2022 à 17:21 +0200, Ricardo Wurmus a écrit : > > Pradana Adrinusa AUMARS <paum...@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? >