美文网首页
pip常用命令(个人)

pip常用命令(个人)

作者: w_dll | 来源:发表于2021-01-05 11:03 被阅读0次

    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"

    相关文章

      网友评论

          本文标题:pip常用命令(个人)

          本文链接:https://www.haomeiwen.com/subject/uauioktx.html