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
Traceback (most recent call last):
File "/Users/tkaplan/google-cloud-sdk/bin/bootstrapping/gsutil.py", line 15, in <module>
import bootstrapping
ModuleNotFoundError: No module named 'bootstrapping'
Host information
Python version: 3.11.x (from Homebrew)
OS: macOS 13.4.1
Steps to reproduce:
export PYTHONSAFEPATH=1 gsutil
Expected output:
Actual output:
Context
bazel run
sets this environment variable when running Python scripts (see https://github.com/bazelbuild/bazel/blob/b70914d269e1ee688a82606e92af6582bf67a56b/tools/python/python_bootstrap_template.txt#L485), this issue makes it difficult to shell out togsutil
from a Python script run by Bazel.The text was updated successfully, but these errors were encountered: