admin管理员组文章数量:1402854
I am trying to run the requirements.txt file
for keras using !pip3 install -r requirements.txt
and I run into this error
ERROR: Could not find a version that satisfies the requirement torch==2.6.0+cpu (from versions: 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.6.0)
ERROR: No matching distribution found for torch==2.6.0+cpu
if I remove the +cpu
from torch=2.6.0+cpu
in the requirements.txt file
it seems to work ?
# Tensorflow.
tensorflow-cpu~=2.18.0;sys_platform != 'darwin'
tensorflow~=2.18.0;sys_platform == 'darwin'
tf_keras
tf2onnx
# Torch.
--extra-index-url
torch==2.6.0+cpu
torch-xla==2.6.0;sys_platform != 'darwin'
# Jax.
# Pinned to 0.5.0 on CPU. JAX 0.5.1 requires Tensorflow 2.19 for saved_model_test.
# Note that we test against the latest JAX on GPU.
jax[cpu]==0.5.0
flax
# pre-commit checks (formatting, linting, etc.)
pre-commit
# Common deps.
-r requirements-common.txt
Can someone help me understand this ? I cloned this repository from my fork
Im using python 3.11
本文标签: visual studio codeERROR No matching distribution found for torch260cpuStack Overflow
版权声明:本文标题:visual studio code - ERROR: No matching distribution found for torch==2.6.0+cpu - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744372249a2603087.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论