目录
1. pip 更新报错
- 换成下面这行代码
python -m pip install -U --force-reinstall pip
2.Jupyter Notebook缺包
- 打开cmd
conda info --env
- 激活环境,如:
activate base
- 最后安装模块
pip install XX
- 也可以使用清华镜像
pip install XX -i https://pypi.tuna.tsinghua.edu.cn/simple
3.缺urllib2包
- 在python中,用urllib.request代替urllib2
import urllib.request