Bootstrap

ERROR: No matching distribution found for tb-nightly

问题描述

安装tb-lightly失败:ERROR: No matching distribution found for tb-nightly

解决方案

因为我的镜像源默认是清华的,但是pip源中没有对应的“tb-nightly”依赖包。

如果不知道的,也可以查看一下pip的配置:

 python -m pip config list

会显示清华镜像源:

global.index-url='https://pypi.tuna.tsinghua.edu.cn/simple'

更换镜像源泉:

方案1:临时更换为阿里源(推荐):

python -m pip install tb-nightly -i https://mirrors.aliyun.com/pypi/simple

方案2:替换全局源:

python -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple

使用方案1重新安装,可以看到安装成功:

参考:http://t.csdnimg.cn/PrNF5

;