diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-28 11:40:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-28 11:40:52 +0300 |
commit | a8ca79cbe694ee7639343695d6367d30cb2ab589 (patch) | |
tree | 0f2cc9197f2821a25a480a539d27bd9c391890ad /release/scripts/modules/sys_info.py | |
parent | 4f24808d08f47af661104f5976e17c57e8086ea9 (diff) |
Revert "PyAPI: point sys.executable to the Python binary"
This reverts commit 04c5471ceefb41c9e49bf7c86f07e9e7b8426bb3.
This causes Blender not to start on some systems.
Diffstat (limited to 'release/scripts/modules/sys_info.py')
-rw-r--r-- | release/scripts/modules/sys_info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/sys_info.py b/release/scripts/modules/sys_info.py index cb80529f0f3..fc3ffe4dd88 100644 --- a/release/scripts/modules/sys_info.py +++ b/release/scripts/modules/sys_info.py @@ -82,10 +82,10 @@ def write_sysinfo(filepath): output.write("\t%r\n" % p) output.write(title("Python (External Binary)")) - output.write("binary path: %s\n" % prepr(sys.executable)) + output.write("binary path: %s\n" % prepr(bpy.app.binary_path_python)) try: py_ver = prepr(subprocess.check_output([ - sys.executable, + bpy.app.binary_path_python, "--version", ]).strip()) except Exception as e: |