Cannot find specified version with pyenv function
3 views (last 30 days)
Show older comments
I tried to use python in MATLAB with pyenv in Linux system. The Status initially is NotLoaded but everything else looks correct to me as shown below:
![1.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247825/1.png)
Following the example, I typed pyenv('Version','2.7'), received following error:
![2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247826/2.png)
Status is still NotLoaded. I tried using py.list({'a','b'}), but received: "Unable to resolve the name py.list"
Linux doesn't have Pyenv from Github installed but has wrapper intepreter, executable and library. Works with PyCharm IDE.
0 Comments
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!