Why am I not able to check Python version with the command 'pe = pyenv'; pe.Version'?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 27 Fév 2023
Modifié(e) : MathWorks Support Team
le 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.
Réponse acceptée
MathWorks Support Team
le 17 Nov 2023
Modifié(e) : MathWorks Support Team
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!