Hi team,
I’m trying to build executable zip file for python, code is using pyenv to specify python versions for PY2 and PY3.
Code repo can be found here.
bazel run, bazel build both works
$ bazel run //src/main/python/simple:py2only
$ bazel run //src/main/python/simple:py3only
however when trying the build with —build_python_zip, it shows following error, is this a bug or am I missing anything?
ERROR: /bazel_workspace/simple_python_bazel/src/main/python/simple/BUILD:14:10: PythonZipper src/main/python/simple/py3only.zip failed: I/O exception during sandboxed execution: /private/var/tmp/_bazel_xhuo/3a5ce2a9c140cbad70cca63ba9410ee9/sandbox/darwin-sandbox/3/execroot/__main__/external/pyenv/versions/3.9.4/bin (File exists)