升級pip后報錯
TypeError: 'module' object is not callable
原因
- 存在兩個版本的pip
先把原先版本的卸載了:
python -m pip uninstall pip = 舊版本號
升級
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
1、先卸載原先版本
python - m pip uninstall pip = 舊版本號
1、安裝新版本
python -m pip install pip = 新版本號