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

packaging conflict #497

Open
Albert337 opened this issue Aug 7, 2024 · 1 comment
Open

packaging conflict #497

Albert337 opened this issue Aug 7, 2024 · 1 comment

Comments

@Albert337
Copy link

when i runthe code ,"python setup.py install",i get the error: packaging 24.1 is installed but packaging~=23.1 is required by {'fairseq2'},i try to update fairseq2 version to 0.2.1, but the error is still occured!is there any suggestions to solve it?thanks!

@newswangerd
Copy link

I just ran into this problem. It was happening because mac os defaulted to python 3.12 in my virtual env and there are only builds for up to 3.11 on pypi: https://pypi.org/project/fairseq2n/0.2.1/#files

I solved it by switching to python 3.10 python3.10 -m venv venv

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

2 participants