unable to get matlab to recognize the python installed on my computer
9 ビュー (過去 30 日間)
古いコメントを表示
I am working with Matlab R2021a in Windows. There is an installed python version on the computer.
It was installed using Anaconda, when i open an anaconda promt and use 'python -V' the answer i get is 'Python 3.8.8'.
When i use the command 'pyenv' in my matlab command window i get an empty PythonEnvironment structure.
I also tried downloading python version 3.8.0 from https://www.python.org/downloads/release/python-380/, following the instructions in the Matlab Help documentation, but still - using 'pyenv' results in an empty PythonEnvironment structure.
What am i doing wrong?
Thanks!
0 件のコメント
採用された回答
Yongjian Feng
2022 年 1 月 19 日
python on Windows might be tricky. Did you follow this page? Maybe you need to setup your PATH environment variable first?
4 件のコメント
Yongjian Feng
2022 年 1 月 19 日
Yes, this is the path I meant. Matlab needs this to look for the python executable. Please accept the answer if it works.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

