facebookresearch / fairseq

Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
MIT License
30.57k stars 6.41k forks source link

Can't find fairseq/version.txt during pip installation #5556

Closed GryffindorLi closed 1 week ago

GryffindorLi commented 1 month ago

❓ Questions and Help

What is your question?

I am installing Amphion, which depends on fairseq (see here). However, I got the following error when installing fairseq with pip.

Screenshot from 2024-10-18 16-10-11

Can someone help me with this issue?

Code

pip install fairseq

What have you tried?

I've tried to install Amphion with a higher version of Python. I also tried to install it without the version specification in the env.sh. Both give me the same error.

What's your environment?

jpgallegoar commented 1 month ago

Could you fix this?

aspil commented 2 weeks ago

Downgrade pip with pip install --upgrade pip==24.0 and it should work