Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing fairseq #5552

Open
ChristopheYe opened this issue Oct 13, 2024 · 5 comments
Open

Error when installing fairseq #5552

ChristopheYe opened this issue Oct 13, 2024 · 5 comments

Comments

@ChristopheYe
Copy link

Hi everyone,

I am running into the following error when trying to install fairseq

pip install fairseq

This is the error in question :

FileNotFoundError: [Errno 2] No such file or directory: 'fairseq/version.txt'

Thanks for your help.

@lukatop
Copy link

lukatop commented Oct 14, 2024

Same here, I was using python3.9 with pip 24.2 and tried to install fairseq, but getting the same error.

@CooperWanng
Copy link

CooperWanng commented Oct 15, 2024

same problem
“crtdbg.h”: No such file or directory
python 3.10.6
pip 23.2.1
win 11

@nnonno
Copy link

nnonno commented Oct 22, 2024

pull the repo and install from source. make sure your pip version is lower than 24.1
pip install --force pip==24.0
git clone https://github.com/pytorch/fairseq
cd fairseq
pip install ./

Myenv:
python: 3.10.12
pip 24.0
ubuntu 22.04lts

@juzi24707
Copy link

After uninstalling the hydra-core package, reinstall fairseq, as there is a dependency conflict between these two packages.

@zillionare
Copy link

same here. Working on macos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants