You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have only the python3 binary installed, no "python" binary (corresponding to python2) since my distribution is dropping python2 support. Whenever I try to build a rust image, I get the following error, I think due to a wrong shebang for build_tar. I am not sure how to change the generation of the build_tar script to use py3wrapper.sh instead, which seems to have the right logic for python interpreter detection.
Also passing --extra_toolchains=@bazel_tools//tools/python:autodetecting_toolchain_nonstrict does not work.
The text was updated successfully, but these errors were encountered:
tchernobog
changed the title
Error without Python2.7 due to build_tar shebang
Failure with Python 3 but without Python 2, due to build_tar shebang
Sep 21, 2020
Hi, I have only the python3 binary installed, no "python" binary (corresponding to python2) since my distribution is dropping python2 support. Whenever I try to build a rust image, I get the following error, I think due to a wrong shebang for build_tar. I am not sure how to change the generation of the build_tar script to use py3wrapper.sh instead, which seems to have the right logic for python interpreter detection.
Also passing
--extra_toolchains=@bazel_tools//tools/python:autodetecting_toolchain_nonstrict
does not work.My WORKSPACE:
BUILD:
The text was updated successfully, but these errors were encountered: