以安装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
本文介绍如何在Windows环境下,通过pip遇到访问权限错误时,使用--user选项安装TensorFlow 2.4.1的具体步骤。
5369

被折叠的 条评论
为什么被折叠?



