We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bfc4f8 commit ca9b6d8Copy full SHA for ca9b6d8
1 file changed
+stdlib/python_version.m
@@ -36,11 +36,14 @@
36
% glitchy Python load can error on shell.version_info
37
% if pyenv() hasn't ever been configured, may get uncatchable error
38
% bad lexical cast: source type value could not be interpreted as target
39
+old = getenv('KMP_DUPLICATE_LIB_OK');
40
+setenv('KMP_DUPLICATE_LIB_OK', 'TRUE')
41
try
42
v = pvt_python_version();
43
catch e
44
msg = e.message;
45
end
46
+setenv('KMP_DUPLICATE_LIB_OK', old)
47
48
% cache the result - even if empty -- because the check takes up to 1000 ms say on HPC
49
stdlib_py_version = v;
0 commit comments