Open Gan-Xing opened 3 months ago
I believe it's due to a newer version of pip
. I'm using pip
24.0, and it gives me the following warning but works fine:
DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
I'd say downgrading pip
is probably the easiest way, or try upgrading/editing omegaconf
to see if they fixed the issue in a newer version, as is mentioned in the warning.
I see that you've tried downgrading pip
, but I believe it should work as it's pip
that is unhappy about the dependencies.
Title
pip install fairseq
fails due to invalid metadata for PyYAML dependency in omegaconfIssue Description
Environment:
streamspeech
Steps to Reproduce:
Create and activate conda environment:
Install dependencies:
Check PyYAML version:
Try to install
fairseq
:Observed Behavior:
The installation process fails with the following errors:
Expected Behavior:
fairseq
should be installed without errors.Additional Information:
Notes:
PyYAML
dependency inomegaconf
has an invalid metadata format that causes the error.Steps Tried:
pip
,setuptools
, andwheel
.PyYAML
andomegaconf
.Request for Help: I need assistance in resolving this installation failure. Any guidance or solutions would be appreciated.
Contact Information: 599153574@qq.com
Labels