From 9c537f33b9eb4d015316a7867a9e6d1eda6cd70c Mon Sep 17 00:00:00 2001 From: rejbasket <39080670+rejbasket@users.noreply.github.com> Date: Sat, 20 Jul 2024 09:20:10 +0200 Subject: shapely arm fix (#3094) --- lib/exceptions.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/exceptions.py') diff --git a/lib/exceptions.py b/lib/exceptions.py index 8bef185f..c79c771e 100644 --- a/lib/exceptions.py +++ b/lib/exceptions.py @@ -20,8 +20,11 @@ def get_os_version(): os_ver = "Windows " + platform.release() + " version: " + platform.version() if sys.platform == "darwin": # macOS command line progam provides accurate info than python functions - mac_v = subprocess.run(["sw_vers"], capture_output=True, text=True) - os_ver = str(mac_v.stdout.strip()) + mac_v1 = subprocess.run(["sw_vers"], capture_output=True, text=True) + mac_v1 = str(mac_v1.stdout.strip()) + mac_v2 = subprocess.run(["uname", "-m"], capture_output=True, text=True) + mac_v2 = str(mac_v2.stdout.strip()) + os_ver = mac_v1 + "\nCPU:\t\t\t\t" + mac_v2 if sys.platform == "linux": # Getting linux version method used here is for systemd and nonsystemd linux. try: -- cgit v1.2.3