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 24f6851 commit 18dff9dCopy full SHA for 18dff9d
+stdlib/private/pvt_python_version.m
@@ -4,11 +4,12 @@
4
5
pe = pyenv();
6
vs = pe.Version;
7
-if stdlib.strempty(vs), return, end
+if ~strlength(vs), return, end
8
9
% this line may error like
10
% "Python Error: TypeError: cannot create 'sys.version_info' instances"
11
% if Python version incompatible or something got corrupted in loading Python library
12
+% try restarting Matlab
13
vi = py.sys.version_info;
14
v = [double(vi.major), double(vi.minor), double(vi.micro)];
15
0 commit comments