Why am I not able to check Python version with the command 'pe = pyenv'; pe.Version'?
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 27 de Feb. de 2023
Editada: MathWorks Support Team
el 17 de Nov. de 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.
Respuesta aceptada
MathWorks Support Team
el 17 de Nov. de 2023
Editada: MathWorks Support Team
el 27 de Mzo. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Call Python from MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!