报错代码
ERROR: Exception:
Traceback (most recent call last):
File “d:\python\lib\site-packages\pip_vendor\resolvelib\resolvers.py”, line 171, in _merge_into_criterion
crit = self.state.criteria[name]
KeyError: ‘pygments’raise ReadTimeoutError(self._pool, None, “Read timed out.”)
pip._vendor.urllib3.exceptions.ReadTimeoutError:
HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read
timed out.
搜索了很多方法还是报错,最后用下面这个方法解决了
首先更新pip
python -m pip install --upgrade --force pip
然后下载一个库
pip install setuptools==33.1.1
最后再安装jupyter
pip install jupyter
作者:Happy桑豆
链接:https://www.jianshu.com/p/327ebfb85996
来源:简书
在cmd上输入jupyter notebook没法直接跳转,直接把链接地址复制到网址栏,终于打开了~