I stumbled across this when trying to load an external library (ifcopenshell):
calling platform.python_version() fails, throwing an exception:
import platform
print platform.python_version()
results in
Message: failed to parse CPython sys.version: '2.7.0 ()'
Traceback:
line 1382, in _sys_version, "C:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\IronPython\Lib\platform.py"
line 1428, in python_version, "C:\Program Files\Rhinoceros 5 (64-bit)\Plug-ins\IronPython\Lib\platform.py"
line 2, in <module>, "C:\Users\fsc\AppData\Local\Temp\TempScript.py"
I am on Rhino 5 SR12 64-bit (5.12.50810.13095, 10.08.2015)