Open Ashmit12092000 opened 1 year ago
Same here.
Using windows 11.
Thanks for creating the issue.
error: can't find Rust compiler <-- This part is the main problem.
Install Rust by downloading it from the official website. (https://www.rust-lang.org/tools/install)
By default Rust will add PATH.
Reload and try "pip install transformers" again.
This worked for me.
You don't have 'encodec' library. In your virtual environment, run "pip install encodec" and it will be solved.
2023년 8월 24일 (목) 오후 4:45, Cesar Romero @.***>님이 작성:
Thanks a lot @dokim3014 https://github.com/dokim3014 .
But now I get this error message and can't figure out why?
`Traceback (most recent call last): File "C:\Users\zaesa\Downloads\Bark_WebUI\bark\UI.py", line 1, in from bark import SAMPLE_RATE, generate_audio File "C:\Users\zaesa\Downloads\BarkWebUI\bark\barkinit_.py", line 1, in from .api import generate_audio, text_to_semantic, semantic_to_waveform, save_as_prompt File "C:\Users\zaesa\Downloads\Bark_WebUI\bark\bark\api.py", line 5, in from .generation import codec_decode, generate_coarse, generate_fine, generate_text_semantic File "C:\Users\zaesa\Downloads\Bark_WebUI\bark\bark\generation.py", line 6, in from encodec import EncodecModel ModuleNotFoundError: No module named 'encodec'
Done!`
Any suggestion? Appreciate
— Reply to this email directly, view it on GitHub https://github.com/suno-ai/bark/issues/435#issuecomment-1691177409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZRBCOKGQ6EDSDEUXY3JHJTXW4BAJANCNFSM6AAAAAA335K26U . You are receiving this because you were mentioned.Message ID: @.***>
I solved the issue by downgrading python version from 3.11 to 3.8 . No need to download rust compiler additionally
After installing Rust, issue resolved to me.
While installing suno-bark i'm enconutering this error error: subprocess-exited-with-error
× Building wheel for safetensors (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [25 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-311 creating build\lib.win-amd64-cpython-311\safetensors copying py_src\safetensors\flax.py -> build\lib.win-amd64-cpython-311\safetensors copying py_src\safetensors\numpy.py -> build\lib.win-amd64-cpython-311\safetensors copying py_src\safetensors\paddle.py -> build\lib.win-amd64-cpython-311\safetensors copying py_src\safetensors\tensorflow.py -> build\lib.win-amd64-cpython-311\safetensors copying py_src\safetensors\torch.py -> build\lib.win-amd64-cpython-311\safetensors copying py_src\safetensors__init__.py -> build\lib.win-amd64-cpython-311\safetensors running build_ext running build_rust error: can't find Rust compiler
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for safetensors Successfully built suno-bark Failed to build safetensors ERROR: Could not build wheels for safetensors, which is required to install pyproject.toml-based projects