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

Failed building wheel for fairseq #62

Closed
dikshaseth opened this issue Apr 6, 2024 · 5 comments
Closed

Failed building wheel for fairseq #62

dikshaseth opened this issue Apr 6, 2024 · 5 comments

Comments

@dikshaseth
Copy link

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fairseq
Failed to build fairseq
ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects

@dikshaseth dikshaseth changed the title Failed building wheel for fairest Failed building wheel for fairseq Apr 6, 2024
@PranjalChitale
Copy link
Collaborator

These details are not sufficient for us to help you debug the issue.

Please provide details about your setup, CUDA version, PyTorch version, also the complete log which would contain details about why the build failed. Also ensure that the system CUDA version matches the CUDA version with which PyTorch was compiled.

Further, can you confirm if you used install.sh to setup your environment and install the requisite dependencies to ensure that there are no version conflicts ?

@dikshaseth
Copy link
Author

dikshaseth commented Apr 6, 2024 via email

@PranjalChitale
Copy link
Collaborator

Looking at the logs, it seems this issue is arising due to the G++ compiler not being installed on your system.

Please refer facebookresearch/fairseq#5196 for further information.

@dikshaseth
Copy link
Author

Yes. It is resolved now. Thank you Sir.

@Kishlay-notabot
Copy link

@dikshaseth hi! what python and pip versions did you have?

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

No branches or pull requests

3 participants