Revert "PyAPI: point sys.executable to the Python binary"

This reverts commit 04c5471cee.

This causes Blender not to start on some systems.
This commit is contained in:
2020-10-28 19:40:48 +11:00
parent 4f24808d08
commit a8ca79cbe6
3 changed files with 35 additions and 22 deletions

View File

@@ -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: