pip常用命令(个人)
pip 官网
https://pypi.org/project/pip/#files
豆瓣源
python -m pip install -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple
python -m pip install --upgrade C:\Users\021786.SPRINGGROUP\Desktop\软件安装包\virtual_env\pip_download\pip-20.3.3-py2.py3-none-any.whl
python -m pip install --no-index --find-links=c:\python35\packages -r requirements.txt
pip freeze > C:\Users\021786.SPRINGGROUP\Desktop\软件安装包\virtual_env\pip_download\requirements.txt
download
python -m pip install --download C:\Users\021786.SPRINGGROUP\Desktop\软件安装包\virtual_env\pip_download -r C:\Users\021786\Desktop\virtual_env\requirements.txt
python -m pip download virtualenv -d "C:\Users\021786.SPRINGGROUP\Desktop\软件安装包\virtual_env\pip_download" -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple
python -m pip download pymysql -d "C:\Users\021786.SPRINGGROUP\Desktop\软件安装包\virtual_env\pip_download" -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple
python -m pip download pyside2 -d "C:\Users\021786.SPRINGGROUP\Desktop\软件安装包\virtual_env\pip_download" -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple
install
pip freeze >requirements.txt
python -m pip install --download c:\python35\packages -r requirements.txt
python -m pip install virtualenv --no-index --find-links="C:\Users\021786.SPRINGGROUP\Desktop\软件安装包\virtual_env\pip_download"
python -m pip install pyside2 --no-index --find-links="C:\Users\021786.SPRINGGROUP\Desktop\软件安装包\virtual_env\pip_download"