bumpy-orange-22261
03/04/2025, 5:24 PMFileNotFoundError: [Errno 2] No such file or directory: '$MF_ARCH/5e78d8136bd30a8/bin/python -s'
I run this command
AWS_ACCESS_KEY_ID=minioadmin AWS_SECRET_ACCESS_KEY=minioadmin python basic_counter/flow.py --no-pylint --environment=pypi run
ancient-application-36103
03/04/2025, 5:25 PMancient-application-36103
03/04/2025, 5:26 PMancient-application-36103
03/04/2025, 5:27 PMbumpy-orange-22261
03/04/2025, 5:27 PMbumpy-orange-22261
03/04/2025, 5:28 PMancient-application-36103
03/04/2025, 5:28 PMancient-application-36103
03/04/2025, 5:28 PMbumpy-orange-22261
03/04/2025, 5:44 PMFileNotFoundError: [Errno 2] No such file or directory: 'linux-64/5e78d8136bd30a8/bin/python -s'
ancient-application-36103
03/04/2025, 5:45 PMbumpy-orange-22261
03/04/2025, 5:46 PM@metaflow_ray
@pypi(packages={"ray": "2.39.0"})
@step
def execute(self):
self._do_ray_job()
self.next(self.join)
bumpy-orange-22261
03/04/2025, 5:55 PM@step
def start(self):
self.next(self.execute, num_parallel=1)
hallowed-glass-14538
03/04/2025, 5:56 PMbumpy-orange-22261
03/04/2025, 5:57 PMbrainy-truck-72938
03/04/2025, 7:10 PMHowever, when using the @metaflow_ray decorator in a standalone manner, the value of num_parallel cannot be greater than 1 (on Windows and macOS) because locally spun up ray clusters do not support multiple nodes unless the underlying OS is linux based.
bumpy-orange-22261
03/05/2025, 8:11 AM2025-03-05 15:10:01.160 [5/execute/17 (pid 13516)] File "/home/cuong007/micromamba/envs/metaflow/linux-64/1628e0b9cd19bf2/lib/python3.10/subprocess.py", line 1863, in _execute_child
2025-03-05 15:10:01.160 [5/execute/17 (pid 13516)] raise child_exception_type(errno_num, err_msg, err_filename)
2025-03-05 15:10:01.160 [5/execute/17 (pid 13516)] FileNotFoundError: [Errno 2] No such file or directory: '$MF_ARCH/1628e0b9cd19bf2/bin/python -s'
brainy-truck-72938
03/05/2025, 8:13 AMbumpy-orange-22261
03/05/2025, 8:14 AM@kubernetes
https://github.com/outerbounds/metaflow-ray/blob/main/examples/basic_counter/flow.pybrainy-truck-72938
03/05/2025, 8:27 AMrm -rf ~/micromamba/envs/metaflow/linux-64/*
bumpy-orange-22261
03/05/2025, 8:29 AMbrainy-truck-72938
03/05/2025, 8:34 AM~/micromamba/envs/metaflow/linux-64/1628e0b9cd19bf2/bin/python
bumpy-orange-22261
03/05/2025, 8:36 AMbrainy-truck-72938
03/05/2025, 8:36 AMMF_ARCH
is not being replaced with linux-64
correctly..
it was changed here recently...
https://github.com/Netflix/metaflow/commit/dd6588261bc92fb19347208700f9d6f4c4a0b3d6#diff-9799b4832285c0778c0fd10b8[…]882509176b1be4a34bb76d5a48eL245
CC: @ancient-application-36103bumpy-orange-22261
03/05/2025, 8:39 AM@pypi
should I try with @conda
?brainy-truck-72938
03/05/2025, 8:40 AMbumpy-orange-22261
03/05/2025, 8:44 AM@conda
brainy-truck-72938
03/05/2025, 8:46 AM