安装pip
ModuleNotFoundError: No module named 'pip'
(tan_flask_env) PS D:\python100\tan_flask\tan_flask_env> curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
(tan_flask_env) PS D:\python100\tan_flask\tan_flask_env> python get-pip.py
Collecting pip
Downloading pip-20.3.1-py2.py3-none-any.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 43 kB/s
Collecting wheel
Using cached wheel-0.36.1-py2.py3-none-any.whl (34 kB)
Installing collected packages: pip, wheel
Successfully installed pip-20.3.1 wheel-0.36.1
升级包
pip install --upgrade SomePackage
列出已安装的包
pip list
查看可升级的包
pip list -o
卸载包
pip uninstall SomePackage
相关连接
https://www.runoob.com/w3cnote/python-pip-install-usage.html