Atom calling internal python interpreter?


#1

howdy, i’m struggling to understand internals of pylint. I can see the linter-pylint package construct the right parameters (and when I run them on command line, everything works fine). However, when Atom runs them, it is spawning some weird process - a python interpreter, which does NOT have sys.argv - google indicates, that sys.argv is missing if a python is embedded.

Why is that?
Where can I tell atom to use normal python interpreter?


#2

Atom does not ship with a python interpreter.
So it must come from either the package, pylint or your system.

Maybe you can find more information by asking on the linter-pylint repo ?


#3

thank you, the error is because linter-pylint modifies PYTHONPATH - and i happened to have a module called ‘types’ in my project; which breaks python in turn