https://pantsbuild.org/ logo
#general
Title
# general
f

flat-zoo-31952

01/10/2022, 9:25 PM
I'm hitting this warning a lot in my pants runs, and I suspect it's slowing down execution times:
Copy code
15:52:47.86 [WARN] Completed: Find Python interpreter to bootstrap PEX - No bootstrap Python executable could be found from the option `interpreter_search_paths` in the `[python-setup]` scope. Will attempt to run PEXes directly.
My config looks like this:
Copy code
[python-setup]
interpreter_search_paths = ["/usr/bin/python3"]
What's wrong with this search path? That Python definitely exists. What could make it invalid?
e

enough-analyst-54434

01/10/2022, 9:38 PM
What version of Pants?
f

flat-zoo-31952

01/10/2022, 9:40 PM
2.7.1rc1
e

enough-analyst-54434

01/10/2022, 9:52 PM
Are you in a position to upgrade?
Wait - that was your report.
So, yeah - fixed but not backported. Not sure how clean that would be.
f

flat-zoo-31952

01/10/2022, 10:06 PM
ah oh yeah
sorry i'm re-reporting this
I've been in and out of trying this implementation
I can upgrade and give the fix a try
e

enough-analyst-54434

01/10/2022, 10:16 PM
Excellent. Thank you.
5 Views