pip 安装tensorflow==2.0.0-beta1太慢怎么办?临时换源就可以解决

临时使用:

可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple

例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow==2.0.0-beta1,这样就会从清华这边的镜像去安装tensorflow==2.0.0-beta1库。

,这样就会从清华这边的镜像去安装gevent库。

猜你喜欢

转载自blog.csdn.net/weixin_42398658/article/details/94590345
今日推荐