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
When no python_interpreter is specified for pip_import, it defaults to "python". This command is usually the system Python 2 interpreter, but on some platforms (Arch, I believe) it can be Python 3.
"python2" is more specific, but it doesn't exist on all platforms that have Python 2 (macOS in particular: see bazelbuild/bazel#9402).
It'd be nice to autodetect what platform we're on and choose the right Python 2 command for pip_import by default. Note that this is the WORKSPACE equivalent of an autodetecting Python toolchain, and may have some overlap with the aim of #257.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days.
Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_python!
(Forked from discussion in #256.)
When no
python_interpreter
is specified forpip_import
, it defaults to"python"
. This command is usually the system Python 2 interpreter, but on some platforms (Arch, I believe) it can be Python 3."python2"
is more specific, but it doesn't exist on all platforms that have Python 2 (macOS in particular: see bazelbuild/bazel#9402).It'd be nice to autodetect what platform we're on and choose the right Python 2 command for
pip_import
by default. Note that this is the WORKSPACE equivalent of an autodetecting Python toolchain, and may have some overlap with the aim of #257.The text was updated successfully, but these errors were encountered: