1. If there are multiple python interpreters found...
# general
q
1. If there are multiple python interpreters found in the paths specified in
search_path
in
pants.toml
, is the interpreter selected from the first path it finds one? 2. How do we check which python interpreter is finally being used? Is there a pants
goal
that we can run to find out?
h
I don't think there is any guarantee that it's the first path, it'll be some interpreter on that path that matches the interpreter constraints in play
You can
pants repl <targets>
and see which repl you get?
c
I think it will prefer the lowest version found that satisfies your interpreter constraints. No goal that outputs it, but the version picked should be in the log output.
q
I see, thank you!