Running a Jupyter Notebook in Conda Environment

I have been running Python-based Jupyter Notebooks for some time but never thought about using environments before quite recently. I have heard people talking about environments, but I didn’t understand why I would need it. Two days ago, I tried to upgrade to the latest version of the Musical Gestures Toolbox for Python and got stuck in a dependency nightmare. I tried to upgrade one of the packages that choked, but that only led to other packages breaking. I suddenly also found myself in a situation where one package wanted a newer version of a dependency while another wanted an older version. My approach to installing all the packages I would ever need was not a good idea. Then I realized that this is why people use environments. ...

June 12, 2023 · 4 min · 813 words · ARJ