I'm running a python binary target with bazel run xxx
and in the target I'm doing print(sys.version)
. This outputs Python version 3.6.8 (default, Jan 14 2019, 11:02:34)
When I type the python
command directly, I get Python 3.7.3 (default, Apr 3 2019, 19:16:38)
Why/how did bazel choose a different python version?