从pip wheel缓存中提取python wheel? [英] Extract python wheels from pip wheel cache?
本文介绍了从pip wheel缓存中提取python wheel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
看来pip现在可以自动缓存车轮了:
It appears that pip now does automated caching of wheels:
http://pip.readthedocs.org/en/stable /reference/pip_install/#wheel-cache
我正在尝试收集轮子以创建用于自定义学习设置(ipython3笔记本电脑等)的安装程序,但是,似乎缓存使用了无法读取的缓存方案.
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.
是否有一种简便的方法可以将pip wheel缓存转储到wheel文件中?
Is there an easy way that the pip wheel cache can be dumped to the wheel files?
推荐答案
Use --download
(or -d
) option:
$ pip install package --download /tmp
上述命令会将车轮下载到/tmp
目录中(如果已经下载了车轮,则使用缓存)
Above command will download the wheel into /tmp
directory (uses cache if the wheel is already downloaded)
这篇关于从pip wheel缓存中提取python wheel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文