How to update jupyterlab using conda or pip?

谁说我不能喝 提交于 2020-08-02 06:07:21

问题


How do you update jupyterlab using conda or pip?

I understand that conda update jupyter updates jupyter notebook (I have Anaconda), but I'm not sure this takes care of jupyterlab as well.


回答1:


conda update jupyter will not automatically update jupyterlab. You have to explicitly request an update of jupyterlab:

conda update jupyterlab



回答2:


You may need to specify conda-forge:

conda update -c conda-forge jupyterlab



回答3:


If you prefer using pip:

pip install --upgrade jupyterlab

Or if you'd like a specific version:

pip install jupyterlab==1.2.4

Depending on your rights, you might also need to add a --user in there:

pip install jupyterlab==1.2.4 --user



回答4:


I was getting frustrated by trying to update Jupyterlab on Anaconda and failing. Eventually I realized that this line of code works for me:

    conda update --all



来源:https://stackoverflow.com/questions/55772171/how-to-update-jupyterlab-using-conda-or-pip

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!