[Bug]: Beam's Python SDK harness boot entrypoint may fail when python
is not accessible, but python3
is.
#26958
Closed
1 of 15 tasks
Labels
bug
done & done
Issue has been reviewed after it was closed for verification, followups, etc.
good first issue
P3
python
Milestone
What happened?
The code in
beam/sdks/python/container/boot.go
Line 94 in 98210d9
assumes the Python executable is always
python
, which seems to not work on Ubuntu system. We should be able to detect that and handle this case gracefully.There were also asks in the past to consider making Python path configurable . We could introduce an environment variable that controls the path to interpreter, defer to it if specified, if not - try python, if that fails, try python3.
Issue Priority
Priority: 3 (minor)
Issue Components
The text was updated successfully, but these errors were encountered: