我试图在我的机器上运行一个代码库,而pip找不到一些依赖项。好像是在另一台机器上找到它们,所以我想看看两台机器上正在使用哪个回购点。
我怎样才能做到这一点?
pip使用--verboseflag:pip install --verbose ...或时,将显示搜索软件包的存储库pip download --verbose ...。指定一些不存在的要求,因此pip实际上不会下载/安装任何内容。例:
$ pip download --no-cache-dir --verbose "foo<0" 2>&1 | grep Looking
Looking in indexes: https://pypi.org/simple, https://my-index.local, http://127.0.0.1:9000
| 归档时间: | 
 | 
| 查看次数: | 6572 次 | 
| 最近记录: |