解决python “No module named pip”

解决python “No module named pip”

python 升级后导致不能使用原来的pip命令

windows平台

cmd中敲命令:python -m ensurepip

C:\Users\guchen>python -m ensurepip
Requirement already satisfied: setuptools in d:\python27\lib\site-packages
Collecting pip
Installing collected packages: pip
Successfully installed pip-9.0.1

C:\Users\guchen>pip

Usage:
  pip <command> [options]

Commands:
  install                     Install packages.
  download                    Download packages.

 

 

posted @ 2018-12-25 15:26  秋寻草  阅读(2665)  评论(0编辑  收藏