1 diff --git a/platformio/proc.py b/platformio/proc.py
2 index 707245a1..cae17a29 100644
3 --- a/platformio/proc.py
4 +++ b/platformio/proc.py
5 @@ -165,7 +165,7 @@ def is_container():
8 def get_pythonexe_path():
9 - return os.environ.get("PYTHONEXEPATH", os.path.normpath(sys.executable))
10 + return "@interpreter@"
13 def copy_pythonpath_to_osenv():
14 @@ -181,7 +181,7 @@ def copy_pythonpath_to_osenv():
18 - os.environ["PYTHONPATH"] = os.pathsep.join(_PYTHONPATH)
19 + os.environ["PYTHONPATH"] = os.pathsep.join(sys.path)
22 def where_is_program(program, envpath=None):