windows N卡运行依赖报错
txt (line 10)) (3.13.1)
Collecting omegaconf<2.1 (from fairseq==0.12.2->-r requirements.txt (line 8))
Using cached omegaconf-2.0.6-py3-none-any.whl.metadata (3.0 kB)
WARNING: Ignoring version 2.0.6 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/d0/eb/9d63ce09dd8aa85767c65668d5414958ea29648a0eec80a4a7d311ec2684/omegaconf-2.0.6-py3-none-
any.whl (from fairseq==0.12.2->-r requirements.txt (line 8)) has invalid metadata: .* suffix can only be used with == or != operators
PyYAML (>=5.1.)
~~~~~~^
Please use pip<24.1 if you need to use this version.
Using cached omegaconf-2.0.5-py3-none-any.whl.metadata (3.0 kB)
WARNING: Ignoring version 2.0.5 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/e5/f6/043b6d255dd6fbf2025110cea35b87f4c5100a181681d8eab496269f0d5b/omegaconf-2.0.5-py3-none-
any.whl (from fairseq==0.12.2->-r requirements.txt (line 8)) has invalid metadata: . suffix can only be used with == or != operators
PyYAML (>=5.1.*)
~~~~~~^
Please use pip<24.1 if you need to use this version.
INFO: pip is looking at multiple versions of hydra-core to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 8) and fairseq because these package versions have conflicting dependencies.
The conflict is caused by: fairseq 0.12.2 depends on omegaconf<2.1 hydra-core 1.0.7 depends on omegaconf<2.1 and >=2.0.5
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
同样的问题,mark一下
同样的问题,mark一下
降低pip到24.0
同样的问题,mark一下
降低pip到24.0
谢谢dalao
I got it working, I had to downgrade pip to v24.0 and install build essential tools. I'm using conda, python v.3.8.20, pip v24.0
sudo apt update
conda install pip=24.0 sudo apt install build-essential sudo apt ffmpeg // I also did this but not sure this is apart of the solution