Extract python wheels from pip wheel cache?

不打扰是莪最后的温柔 提交于 2019-12-06 06:59:45

问题


It appears that pip now does automated caching of wheels:

http://pip.readthedocs.org/en/stable/reference/pip_install/#wheel-cache

I'm trying to collect wheels to create an installer for a custom learning setup (ipython3 notebook, etc), however, it appears that the cache uses a unreadable cache scheme.

Is there an easy way that the pip wheel cache can be dumped to the wheel files?


回答1:


Use --download (or -d) option:

$ pip install package --download /tmp

Above command will download the wheel into /tmp directory (uses cache if the wheel is already downloaded)



来源:https://stackoverflow.com/questions/33748800/extract-python-wheels-from-pip-wheel-cache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!