1,背景:
在已有Python3的windows系統上安裝jupyter notebook。
根據官方指導命令如下
If you have Python 3 installed (which is recommended):
python3 -m pip install --upgrade pip python3 -m pip install jupyter
#after finished
#run:
jupyter notebook
2,當執行#python3 -m pip install --upgrade pip 時 報error:
Cannot remove entries from nonexistent file c:\intelpython3\lib\site-packages\easy-install.pth
3,網上前輩意見:
#remove掉setuptools canda.exe remove setuptools #The following packages will be REMOVED: #bleach #ipywidgets #jinja #notebook #pip #setuptools #wheel #...
4,Remove 掉之后重新install pip.
下載get-pip.py 放入c:\python3\Scripts\
https://bootstrap.pypa.io/get-pip.py
#excute python3 get-pip.py
python3 -m pip install --upgrade pip
5,Reinstall jupyter notebook
python3 -m pip install --upgrade pip
python3 -m pip install jupyter
完成后可正常調用