直接换清华源
https://pypi.tuna.tsinghua.edu.cn/simple
例子:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple [package]
直接在notebook中在当前kernel中安装库
# Install a conda package in the current Jupyter kernel
import sys
!conda install --yes --prefix {sys.prefix} numpy