- https://www.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html
- https://www.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html
ImportError: cannot import name 'MatlabFuture' when importing the MATLAB Engine API in Python
9 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2020-6-24
编辑: MathWorks Support Team
2025-11-10
When I try to import the MATLAB Engine API in Python, I get the following error:
ImportError: cannot import name 'MatlabFuture'
采纳的回答
MathWorks Support Team
2025-11-10
编辑:MathWorks Support Team
2025-11-10
This is likely due to MATLAB Engine not being installed correctly. Please see the below documentation references:
In particular, make sure that you call the installation script with the version of Python you intend to use and that your Python path is updated accordingly.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!