在下载包或者模块的过程中,经常会遇到这种报错,我今天在使用pip install tensorboard的时候,一直报错ERROR: Could not find a version that satisfies the requirement tensorboard (from versions: none),两个解决办法:
第一种:关闭你科学上网的VPN
第二种办法:下载超时使用国内的镜像进行下载:格式为:pip install xxxx -i 国内镜像源
举例:pip install tensorboard -i Simple index(替换为下面的网址)Simple Indexhttps://pypi.tuna.tsinghua.edu.cn/simple