C0untFloyd / bark-gui

🔊 Text-Prompted Generative Audio Model with Gradio
MIT License
651 stars 58 forks source link

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 10 months ago

AIhasArrived commented 10 months ago

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 commented 9 months ago

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

HansikaC commented 5 months ago

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

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

dorakun commented 4 months ago

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.