python的pip工具的安装
升级python的工具pip的命令:
注意:cmd要用管理员权限运行。
1 C:\Windows\system32>python -m pip install --upgrade pip 2 Collecting pip 3 Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB) 4 |████████████████████████████████| 1.4MB 172kB/s 5 Installing collected packages: pip 6 Found existing installation: pip 19.2.3 7 Uninstalling pip-19.2.3: 8 Successfully uninstalled pip-19.2.3 9 Successfully installed pip-19.3.1 10 11 C:\Windows\system32>
pip工具版本号查询:
1 C:\Windows\system32>pip --version 2 pip 19.3.1 from c:\program files\python38\lib\site-packages\pip (python 3.8) 3 4 C:\Windows\system32>
linux下安装pip工具的方法:
https://blog.csdn.net/qq_42092076/article/details/87279777