Closed
Description
Due to 2850374, pythonBin
is reset to "python"
when whichSync
can't find the config-provided path. In my case, that path is "$PIPENV_PATH/bin/python"
. As whichSync
does not understand $PIPENV_PATH
, it errors causing the pythonBin
to be reset:
let pythonBin = atom.config.get("ide-python.python") || "python3"
if (whichSync(pythonBin, { nothrow: true }) === null) {
pythonBin = "python"
}
this.python = replacePipEnvPathVar(pythonBin, venvPath)
Reverting 2850374 resolves this issue, though perhaps there is another way to find if Python 3 is installed that does not conflict with pipenv support.