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

fairseq-0.12.4-cp310-cp310-win_amd64.whl is not a supported wheel on this platform. ( 'platform_system != "Windows"' don't match your environment ) #83

Open
AIhasArrived opened this issue Oct 28, 2023 · 3 comments

Comments

@AIhasArrived
Copy link

Hello,
I tried to install bark manually through these steps:
image

When I got the last step, and wrote:
pip install -r requirements.txt
I got this error:
Ignoring fairseq: markers 'platform_system != "Windows"' don't match your environment
ERROR: fairseq-0.12.4-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.

What's the problem, how to resolve this please? Thanks

@zstthm
Copy link

zstthm commented Dec 5, 2023

更新你的python版本,使用3.10的试一试。

@HansikaC
Copy link

HansikaC commented Apr 2, 2024

更新你的python版本,使用3.10的试一试。

I'm currently using python 3.11. Do I need to downgrade?

@dorakun
Copy link

dorakun commented Apr 30, 2024

I'm currently using Python 3.11.8 version, and I experienced the same error during installation.

The solution to this is surprisingly simple.
First of all, cp310 is for Python 3.10 version, and cp311 is for Python 3.11 version.

Like the comments above, you can install or downgrade to the version for 3.10, but surprisingly, if you check the releases of the fairseq repository, there is a file exist for cp311.

https://github.com/Sharrnah/fairseq/releases/tag/v0.12.4

fairseq-0.12.4-cp310-cp310-win_amd64.whl
fairseq-0.12.4-cp311-cp311-win_amd64.whl

To solve this issue, open the requirements.txt file, replace the link part of the fairseq wheel file to the following link, and now you can proceed with the installation of Python 3.11 version without any problems.

fairseq@https://github.com/Sharrnah/fairseq/releases/download/v0.12.4/fairseq-0.12.4-cp311-cp311-win_amd64.whl

It's been a while since the issue was opened, but I'm writing it because I hope it helps someone. And sorry for my bad English skill. Thank you.

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

4 participants