ERROR: Invalid requirement: 'torch>=2+cpu': Local version label can only be used with ==
or !=
operators torch>=2+cpu
#2206
Replies: 1 comment 1 reply
-
It is an issue reported here. If you revert your pip to 24.0 it would be solved for now. We'll propose a fix to this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I tried installing with > anomalib install command but got titled error. Does anyone know how to address this? Thanks!
Installation list: ['pytest', 'coverage', 'openvino>=2024.0', 'imgaug==0.4.0', 'notebook', install.py:73
'pandas>=1.1.0', 'pytest-sugar', 'onnx>=1.16.0', 'pytest-xdist', 'sphinx-copybutton', 'tox',
'wandb<=0.15.9,>=0.12.17', 'myst-parser', 'lightning>=2.2', 'gitpython', 'nncf>=2.10.0',
'pytest-cov', 'pytest-mock', 'kornia>=0.6.6', 'jsonargparse>=4.27.7', 'freia>=0.2',
'matplotlib>=3.4.3', 'anomalib', 'opencv-python>=4.5.3.56', 'timm<=1.0.3,>=0.5.4',
'docstring-parser', 'rich>=13.5.2', 'av>=10.0.0', 'open-clip-torch>=2.23.0', 'rich-argparse',
'tensorboard', 'sphinx-book-theme', 'pre-commit', 'sphinx-design', 'anomalib', 'sphinx<8.0',
'ipykernel', 'einops>=0.3.2', 'mlflow>=1.0.0', 'ipywidgets', 'nbsphinx', 'torchmetrics>=1.3.2',
'pandoc', 'comet-ml>=3.31.7', 'sphinx-autodoc-typehints', 'gradio>=4', 'omegaconf>=2.1.1',
'--extra-index-url', 'https://download.pytorch.org/whl/cpu', 'torch>=2+cpu',
'torchvision>=0.16.2']
[07/22/24 16:57:29] Invalid requirement: 'torch>=2+cpu': Local version label can only be used with
==
or!=
operators
torch>=2+cpu
Beta Was this translation helpful? Give feedback.
All reactions