2020-04-24 23:36:52 +00:00
|
|
|
diff --git a/platformio/proc.py b/platformio/proc.py
|
2024-01-02 11:29:13 +00:00
|
|
|
index 707245a1..cae17a29 100644
|
2020-04-24 23:36:52 +00:00
|
|
|
--- a/platformio/proc.py
|
|
|
|
+++ b/platformio/proc.py
|
2024-01-02 11:29:13 +00:00
|
|
|
@@ -165,7 +165,7 @@ def is_container():
|
|
|
|
|
|
|
|
|
|
|
|
def get_pythonexe_path():
|
|
|
|
- return os.environ.get("PYTHONEXEPATH", os.path.normpath(sys.executable))
|
|
|
|
+ return "@interpreter@"
|
|
|
|
|
|
|
|
|
|
|
|
def copy_pythonpath_to_osenv():
|
2022-03-05 16:20:37 +00:00
|
|
|
@@ -181,7 +181,7 @@ def copy_pythonpath_to_osenv():
|
2024-01-02 11:29:13 +00:00
|
|
|
)
|
2020-04-24 23:36:52 +00:00
|
|
|
if all(conditions):
|
|
|
|
_PYTHONPATH.append(p)
|
|
|
|
- os.environ["PYTHONPATH"] = os.pathsep.join(_PYTHONPATH)
|
|
|
|
+ os.environ["PYTHONPATH"] = os.pathsep.join(sys.path)
|
|
|
|
|
|
|
|
|
|
|
|
def where_is_program(program, envpath=None):
|