Trying to install lmfit, because I didn't find the pip install in the shell, I wrote in the notebook:
!pip install lmfit
But pip failed because the lmfit package already exists. (But when I tried to import lmfit I had an error due to absence of the lmfit package).
So I forced with:
!pip install --ignore-installed --no-cache-dir lmfit
But during installation, were installed also dependencies (numpy), and these changes broke the Rubin_sim.maf.
So now in the notebook I have the lmfit working but not the Rubin_sim.maf.
It is possible to clean this error and can you explain me how to safely import lmfit in my notebook?
Sorry for the inconvenience.