SO, I've set python path as in ~/.profile
export PYTHON=$PYTHON:/usr/bin/python
I'm getting.
stack Error: Can't find Python executable ":/usr/lib/python:/usr/lib/python3.5:/usr/lib/python3.5:/usr/bin/python3.5:/usr/bin/python", you can set the PYTHON env variable.
What will be the path to the executable python ?
PATHvariable with general usage of file paths. The OP needs to clarify what they mean by "set python path as /usr/lib/python" (for one, why would thepythonexecutable be installed to/usr/lib, not/usr/bin?)export PATH=$PATH:/usr/lib/pythonin.bashrcfile?PYTHONas a special environment variable. It's not a standard variable supported by the CPython reference interpreter orbashitself, it looks like some special tool is using it to findpython, but that makes the question about that tool, not about Python orbashreally.