Why am I not able to check Python version with the command 'pe = pyenv'; pe.Version'?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 27 Feb 2023
Modificato: MathWorks Support Team
il 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.
Risposta accettata
MathWorks Support Team
il 17 Nov 2023
Modificato: MathWorks Support Team
il 27 Mar 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Call Python from MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!