mysterious-action-44812
01/27/2022, 10:25 PMException message: Could not establish identity of /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/pythonwrapper.app/Contents/MacOS/pythonwrapper
that I believe was mentioned elsewhere (see e.g https://github.com/pantsbuild/pants/issues/13451). I am on pants 1.27.0 (yes I know it’s ancient we cannot upgrade to pants 2 as it doesn’t support our languages yet). this happens specifically with ./pants export
which the intellij plugin needs in order to work. ./pants compile
and friends on cmdline work fine. any way we can get the fix mentioned in those PRs, or some other workaround, to resolve this? cc @enough-analyst-54434busy-vase-39202
01/27/2022, 10:29 PMmysterious-action-44812
01/27/2022, 10:29 PMbusy-vase-39202
01/27/2022, 10:31 PMhappy-kitchen-89482
01/27/2022, 10:36 PMmysterious-action-44812
01/27/2022, 10:37 PMhappy-kitchen-89482
01/27/2022, 10:40 PMmysterious-action-44812
01/27/2022, 10:42 PMhappy-kitchen-89482
01/27/2022, 11:16 PM[python-setup]
section of pants.ini
you'd set interpreter_search_paths = ["<PYENV>"]
which is a special string that says "look in the pyenv interpreter dir. By default that value contains "<PATH>"
, which means it'll look on the $PATH, which is presumably where it's finding that janky interpreter.--python-setup-interpreter-search-paths='["<PYENV>"]'
mysterious-action-44812
01/27/2022, 11:19 PMinterpreter_search_paths
already but we had +[]
is there a way to see what it expands to and remove just that one?hundreds-father-404
01/27/2022, 11:23 PM./pants options
? (now it's just ./pants help python-setup
)happy-kitchen-89482
01/28/2022, 12:02 AM["<PEXRC>", "<PATH>"]