Hi, i got error when i was trying install requirements. The error is:
thinc/backends/numpy_ops.cpp: In function 'int __Pyx_TraceSetupAndCall(PyCodeObject**, PyFrameObject**, PyThreadState*, const char*, const char*, int)':
thinc/backends/numpy_ops.cpp:2408:34: hata: '_PyCFrame' {aka 'struct _PyCFrame'} has no member named 'use_tracing'
2408 | (unlikely((tstate)->cframe->use_tracing) &&\
| ^~~~~~~~~~~
thinc/backends/numpy_ops.cpp:1001:43: bilgi: in definition of macro 'unlikely'
1001 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
thinc/backends/numpy_ops.cpp:53763:16: bilgi: in expansion of macro '__Pyx_IsTracing'
53763 | return __Pyx_IsTracing(tstate, 0, 0) && retval;
| ^~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for thinc
Failed to build thinc
ERROR: Could not build wheels for thinc, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
and i got another error when trying " streamlit run mg.py".
ModuleNotFoundError: No module named ‘audiocraft’
Traceback:
File “/home/bayramserefoglu/.local/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 535, in _run_script
exec(code, module.dict)
File “/home/bayramserefoglu/MusicGeneration/mg.py”, line 6, in
from audiocraft.models import MusicGen
Installing audiocraft module and another error:
thinc/backends/numpy_ops.cpp:1001:43: bilgi: in definition of macro 'unlikely'
1001 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
thinc/backends/numpy_ops.cpp:53763:16: bilgi: in expansion of macro '__Pyx_IsTracing'
53763 | return __Pyx_IsTracing(tstate, 0, 0) && retval;
| ^~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for thinc
Failed to build thinc
ERROR: Could not build wheels for thinc, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
installed pyproject-toml but nothing change.
GitHub - vluz/MusicGeneration: Music Generation Using MusicGen and Audiocraft this is the script. Its creating music with AI.
If you know scripts for generating musics please tell me.
Thank you. Sorry for my bad english😊