You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Archive: /content/drive/MyDrive/assets/KiwKiw.zip
/content/KiwKiw
Installing build dependencies ... done
......
Preparing metadata (setup.py) ... done
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 7)) 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.
......
ERROR: Cannot install -r requirements.txt (line 7) and fairseq because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
This error is caused by a dependency conflict between the version of omegaconf and fairseq. fairseq depends on a version of omegaconf that has a metadata error with the latest pip version, causing the installation to fail.
You can try to resolve this issue by using a lower version of pip. You can follow the steps below:
Downgrade the pip to version 24.0.
Reinstall the dependencies.
Here is the updated code:
#@title Unzip File From Drive# Downgrade pip to version 24.0
!pipinstallpip==24.0
!unzip-n/content/drive/MyDrive/assets/KiwKiw.zip-d/content%cd/content/KiwKiw
!pipinstall-rrequirements.txt-q
The text was updated successfully, but these errors were encountered:
The original code would lead to this error:
This error is caused by a dependency conflict between the version of omegaconf and fairseq. fairseq depends on a version of omegaconf that has a metadata error with the latest pip version, causing the installation to fail.
You can try to resolve this issue by using a lower version of pip. You can follow the steps below:
Here is the updated code:
The text was updated successfully, but these errors were encountered: