Anaconda虚拟环境报错: ImportError: IProgress not found. Please update jupyter and ipywidgets. See https:/

在anaconda中新建的虚拟环境中跑代码报出如下错误:

ImportError: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html

 jupyter的版本有些低了,所以重装一下

可以先用你的环境 conda activate xx

卸载jupyter:pip uninstall jupyter

安装jupyter:pip install jupyter

安装的时候可以用如下代码,速度会快很多

pip install jupyter -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

 

你可能感兴趣的:(debug,anaconda)