Anaconda Prompt安装Tensorflow报错ERROR: HTTP error 403 while getting ......

部署运行你感兴趣的模型镜像

报错信息:ERROR: HTTP error 403 while getting https://pypi.tuna.tsinghua.edu.cn/packages/cf/

报错界面:

看了下报错信息,似乎清华镜像源要求Python版本大于3.9

解决方法:指定镜像源为其他镜像源(添加下列红色字体部分):

(base) C:\Users\LQR>pip install tensorflow -i https://mirrors.aliyun.com/pypi/simple/

安装过程:

成功界面:

您可能感兴趣的与本文相关的镜像

TensorFlow-v2.15

TensorFlow-v2.15

TensorFlow

TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型

Defaulting to user installation because normal site-packages is not writeable Collecting pandas Using cached pandas-2.3.3.tar.gz (4.5 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [10 lines of output] + meson setup C:\Users\wenjluo\AppData\Local\Temp\pip-install-567i7c6v\pandas_03a5f84235ee4c478922ad663926b7cb C:\Users\wenjluo\AppData\Local\ Temp\pip-install-567i7c6v\pandas_03a5f84235ee4c478922ad663926b7cb\.mesonpy-ru7mqhbc -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv - -native-file=C:\Users\wenjluo\AppData\Local\Temp\pip-install-567i7c6v\pandas_03a5f84235ee4c478922ad663926b7cb\.mesonpy-ru7mqhbc\meson-python-native-file.ini The Meson build system Version: 1.9.1 Source dir: C:\Users\wenjluo\AppData\Local\Temp\pip-install-567i7c6v\pandas_03a5f84235ee4c478922ad663926b7cb Build dir: C:\Users\wenjluo\AppData\Local\Temp\pip-install-567i7c6v\pandas_03a5f84235ee4c478922ad663926b7cb\.mesonpy-ru7mqhbc Build type: native build ..\meson.build:2:0: ERROR: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe A full log can be found at C:\Users\wenjluo\AppData\Local\Temp\pip-install-567i7c6v\pandas_03a5f84235ee4c478922ad663926b7cb\.mesonpy-ru7mqhbc\meson-logs\meson-log.txt [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
最新发布
11-07
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值