用 Anaconda 安装的 python 版本无法更新 pip 导致不能安装第三方库:
用 Anaconda Prompt 安装第三方库:
- python -m pip install --upgrade pip --user
- D:\App\Anaconda3\python.exe: No module named pip
解决方法:
- python -m ensurepip
- python -m pip install --upgrade pip
- # 安装 Excel,Word 第三方库
- pip install xlwt
- pip install xlrd
- pip install python-docx
来源: http://www.bubuko.com/infodetail-3289894.html