Matlab 2016a crashed by calling python function
1 回表示 (過去 30 日間)
OS: windows 10 64bit
Matlab: 2016a 64bit
Python: Enthought Python,
downloaded from https://store.enthought.com/downloads/#default
Everything is installed into the default folder
Matlab will quit without any warning by executing
when I was trying the example at http://au.mathworks.com/help/matlab/matlab_external/call-python-eval-function.html
Could any one please suggest a solution? Many thanks, Kyle.
回答 (1 件)
Robert Snoeberger 2016 年 9 月 30 日
Is there a file "pyvenv.cfg" in either of the following locations?
If there is, locate the line "home = [home path]" in the file. Then, use the "python.exe" executable found in [home path] to set the Python version within MATLAB:
>> pyversion [home path]\python.exe