How to use Python's pip to download and keep the zipped files for a package?

前端 未结 8 941
暗喜
暗喜 2020-11-28 18:48

If I want to use the pip command to download a package (and its dependencies), but keep all of the zipped files that get downloaded (say, django-social

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 19:34

    Use pip download to download all the packages including dependencies

    Use pip install --no-index --find-links . to install all the packages including dependencies. It gets all the files from CWD. It will not download anything

提交回复
热议问题