Why am I not able to check Python version with the command 'pe = pyenv'; pe.Version'?
9 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Feb 2023
Edited: MathWorks Support Team
on 27 Mar 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.
Accepted Answer
MathWorks Support Team
on 27 Mar 2023
Edited: MathWorks Support Team
on 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 Comments
More Answers (0)
See Also
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!