Deployed MATLAB Application not able to detect Python
4 views (last 30 days)
Show older comments
Varun Pai on 16 Apr 2020
Commented: Varun Pai on 6 Dec 2022
I have coded a MATLAB application which uses Python. When executing as code, there are no issues and the code is working fine.
But when the same application is deployed as an exe and executed, the application is unable to detect the Python distribution and error is returned.
I am getting the following warning and error
警告: Python コマンドには、サポートされているバージョンの CPython が必要です。「<a href="matlab:helpview([docroot '/matlab/helptargets.map'], 'getting_started_python_interface')">Python を使う</a>」を参照してください。
名前 py.numpy.array を解決できません。
Note : The numpy is working successfully from Python as well as from MATLAB code.
Python 3.7.7 (added to system path)
Windows 10 64 bit
What could be the problem for this ? Appreciate any workarounds.
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!