其他分享
首页 > 其他分享> > #使用清华镜像源 安装/更新 指定版本tensorflow

#使用清华镜像源 安装/更新 指定版本tensorflow

作者:互联网

以安装2.4.1版本为例,安装/更新直接运行以下程序:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow==2.4.1

或遇到以下问题时
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'd:\anaconda3\lib\site-p。。。

可通过运行以下程序直接解决
pip install --user -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow==2.4.1

标签:清华,cn,simple,edu,install,镜像,tensorflow,2.4
来源: https://blog.csdn.net/wangdongdongling/article/details/121567369