python environment mysteriously loads by itself?
5 views (last 30 days)
Show older comments
dleal on 3 Jun 2022
Commented: dleal on 4 Jun 2022
The title of this post summarizes the issue. I am slighty confused why Python loads without my explicit permission.
I am working on a MATLAB project where startup file contains a line that loads Python using pyenv.
If I wait a few minutes between opening MATLAB and starting the project, I get the "Python is loaded" error message, even though I haven't yet loaded it:
Warning: Error using pyenv
Python is loaded. The environment cannot be changed in this MATLAB session. To change the environment, restart MATLAB, and then call 'pyenv'.
I understand my question might be a bit vague and I would be glad to provide more details as needed... I'm not quite sure where to go from here
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!