Why am I not able to check Python version with the command 'pe = pyenv'; pe.Version'?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 27 Feb. 2023
Bearbeitet: MathWorks Support Team
am 17 Nov. 2023
I installed Python with supported version by referring the link.
I see empty return for Python version though I typed the 'pe = pyenv'; pe.Version' according to the following documentation.
Akzeptierte Antwort
MathWorks Support Team
am 17 Nov. 2023
Bearbeitet: MathWorks Support Team
am 27 Mär. 2023
Please set Python version with the full path of the location of python installation.
For example,
pyenv('Version','C:\Users\sji\AppData\Local\Programs\Python\Python38\python.exe')
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!