Open tobiasmeyhoefer opened 10 months ago
Use python 3.11 instead of python 3.12.
Use python 3.11 instead of python 3.12.
Last I heard, pytorch is not compatible with Python 3.12 yet...and maybe other libraries as well, but I do know that Pytorch isn't...
faces this error while installing any help?
pip install faster-whisper ✔ 16:07:05 Collecting faster-whisper Downloading faster_whisper-0.9.0-py3-none-any.whl.metadata (11 kB) Collecting av==10. (from faster-whisper) Downloading av-10.0.0.tar.gz (2.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 9.1 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting ctranslate2<4,>=3.17 (from faster-whisper) Downloading ctranslate2-3.21.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (10 kB) Requirement already satisfied: huggingface-hub>=0.13 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from faster-whisper) (0.19.4) Collecting tokenizers<0.15,>=0.13 (from faster-whisper) Downloading tokenizers-0.14.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (6.7 kB) INFO: pip is looking at multiple versions of faster-whisper to determine which version is compatible with other requirements. This could take a while. Collecting faster-whisper Downloading faster_whisper-0.8.0-py3-none-any.whl.metadata (10 kB) Collecting tokenizers==0.13. (from faster-whisper) Downloading tokenizers-0.13.3.tar.gz (314 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 314.9/314.9 kB 2.0 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting faster-whisper Downloading faster_whisper-0.7.1-py3-none-any.whl.metadata (9.9 kB) Downloading faster_whisper-0.7.0-py3-none-any.whl.metadata (9.9 kB) Downloading faster_whisper-0.6.0-py3-none-any.whl.metadata (9.1 kB) Downloading faster_whisper-0.5.1-py3-none-any.whl (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 2.1 MB/s eta 0:00:00 Collecting numpy (from ctranslate2<4,>=3.17->faster-whisper) Downloading numpy-1.26.2-cp312-cp312-macosx_11_0_arm64.whl.metadata (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 2.8 MB/s eta 0:00:00 Requirement already satisfied: pyyaml<7,>=5.3 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from ctranslate2<4,>=3.17->faster-whisper) (6.0.1) Requirement already satisfied: filelock in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from huggingface-hub>=0.13->faster-whisper) (3.13.1) Requirement already satisfied: fsspec>=2023.5.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from huggingface-hub>=0.13->faster-whisper) (2023.10.0) Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from huggingface-hub>=0.13->faster-whisper) (2.31.0) Requirement already satisfied: tqdm>=4.42.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from huggingface-hub>=0.13->faster-whisper) (4.66.1) Requirement already satisfied: typing-extensions>=3.7.4.3 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from huggingface-hub>=0.13->faster-whisper) (4.8.0) Requirement already satisfied: packaging>=20.9 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from huggingface-hub>=0.13->faster-whisper) (23.2) Requirement already satisfied: charset-normalizer<4,>=2 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from requests->huggingface-hub>=0.13->faster-whisper) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from requests->huggingface-hub>=0.13->faster-whisper) (3.4) Requirement already satisfied: urllib3<3,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from requests->huggingface-hub>=0.13->faster-whisper) (2.1.0) Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from requests->huggingface-hub>=0.13->faster-whisper) (2023.11.17) Downloading ctranslate2-3.21.0-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 10.7 MB/s eta 0:00:00 Downloading numpy-1.26.2-cp312-cp312-macosx_11_0_arm64.whl (13.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.7/13.7 MB 6.4 MB/s eta 0:00:00 Building wheels for collected packages: av, tokenizers Building wheel for av (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for av (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [341 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-universal2-cpython-312 creating build/lib.macosx-10.9-universal2-cpython-312/av copying av/deprecation.py -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/datasets.py -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/init.py -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/about.py -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/main.py -> build/lib.macosx-10.9-universal2-cpython-312/av creating build/lib.macosx-10.9-universal2-cpython-312/av/video copying av/video/init.py -> build/lib.macosx-10.9-universal2-cpython-312/av/video creating build/lib.macosx-10.9-universal2-cpython-312/av/codec copying av/codec/init.py -> build/lib.macosx-10.9-universal2-cpython-312/av/codec creating build/lib.macosx-10.9-universal2-cpython-312/av/container copying av/container/init.py -> build/lib.macosx-10.9-universal2-cpython-312/av/container creating build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/audio/init.py -> build/lib.macosx-10.9-universal2-cpython-312/av/audio creating build/lib.macosx-10.9-universal2-cpython-312/av/subtitles copying av/subtitles/init.py -> build/lib.macosx-10.9-universal2-cpython-312/av/subtitles creating build/lib.macosx-10.9-universal2-cpython-312/av/filter copying av/filter/init.py -> build/lib.macosx-10.9-universal2-cpython-312/av/filter creating build/lib.macosx-10.9-universal2-cpython-312/av/sidedata copying av/sidedata/init.py -> build/lib.macosx-10.9-universal2-cpython-312/av/sidedata creating build/lib.macosx-10.9-universal2-cpython-312/av/data copying av/data/init.py -> build/lib.macosx-10.9-universal2-cpython-312/av/data copying av/utils.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/frame.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/descriptor.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/logging.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/format.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/init.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/error.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/buffer.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/packet.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/bytesource.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/enum.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/option.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/stream.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/dictionary.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/plane.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av copying av/video/frame.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/video copying av/video/reformatter.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/video copying av/video/format.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/video copying av/video/init.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/video copying av/video/codeccontext.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/video copying av/video/stream.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/video copying av/video/plane.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/video copying av/codec/init.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/codec copying av/codec/context.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/codec copying av/codec/codec.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/codec copying av/container/input.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/container copying av/container/core.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/container copying av/container/init.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/container copying av/container/pyio.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/container copying av/container/output.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/container copying av/container/streams.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/container copying av/audio/frame.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/audio/fifo.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/audio/format.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/audio/layout.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/audio/init.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/audio/codeccontext.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/audio/stream.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/audio/resampler.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/audio/plane.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/audio copying av/subtitles/init.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/subtitles copying av/subtitles/codeccontext.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/subtitles copying av/subtitles/stream.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/subtitles copying av/subtitles/subtitle.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/subtitles copying av/filter/init.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/filter copying av/filter/graph.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/filter copying av/filter/context.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/filter copying av/filter/filter.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/filter copying av/filter/pad.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/filter copying av/filter/link.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/filter copying av/sidedata/init.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/sidedata copying av/sidedata/motionvectors.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/sidedata copying av/sidedata/sidedata.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/sidedata copying av/data/init.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/data copying av/data/stream.pxd -> build/lib.macosx-10.9-universal2-cpython-312/av/data running build_ext building 'av.plane' extension creating build/temp.macosx-10.9-universal2-cpython-312 creating build/temp.macosx-10.9-universal2-cpython-312/src creating build/temp.macosx-10.9-universal2-cpython-312/src/av clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/opt/portaudio/include/ -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c src/av/plane.c -o build/temp.macosx-10.9-universal2-cpython-312/src/av/plane.o clang -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -g -L/opt/homebrew/opt/openssl@3/lib -I/opt/homebrew/opt/openssl@3/include build/temp.macosx-10.9-universal2-cpython-312/src/av/plane.o -L/opt/homebrew/Cellar/ffmpeg/6.0_1/lib -L/opt/homebrew/opt/portaudio/lib/ -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.macosx-10.9-universal2-cpython-312/av/plane.cpython-312-darwin.so ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavformat.60.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavcodec.60.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavdevice.60.1.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libswscale.7.1.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavfilter.9.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavutil.58.2.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libswresample.4.10.100.dylib': found architecture 'arm64', required architecture 'x86_64' building 'av.dictionary' extension clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/opt/portaudio/include/ -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c src/av/dictionary.c -o build/temp.macosx-10.9-universal2-cpython-312/src/av/dictionary.o clang -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -g -L/opt/homebrew/opt/openssl@3/lib -I/opt/homebrew/opt/openssl@3/include build/temp.macosx-10.9-universal2-cpython-312/src/av/dictionary.o -L/opt/homebrew/Cellar/ffmpeg/6.0_1/lib -L/opt/homebrew/opt/portaudio/lib/ -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.macosx-10.9-universal2-cpython-312/av/dictionary.cpython-312-darwin.so ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavformat.60.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavutil.58.2.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libswresample.4.10.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libswscale.7.1.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavdevice.60.1.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavfilter.9.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavcodec.60.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' building 'av.stream' extension clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/opt/portaudio/include/ -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c src/av/stream.c -o build/temp.macosx-10.9-universal2-cpython-312/src/av/stream.o clang -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -g -L/opt/homebrew/opt/openssl@3/lib -I/opt/homebrew/opt/openssl@3/include build/temp.macosx-10.9-universal2-cpython-312/src/av/stream.o -L/opt/homebrew/Cellar/ffmpeg/6.0_1/lib -L/opt/homebrew/opt/portaudio/lib/ -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.macosx-10.9-universal2-cpython-312/av/stream.cpython-312-darwin.so ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavfilter.9.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavformat.60.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavutil.58.2.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavdevice.60.1.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavcodec.60.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libswscale.7.1.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libswresample.4.10.100.dylib': found architecture 'arm64', required architecture 'x86_64' building 'av.option' extension clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/opt/portaudio/include/ -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c src/av/option.c -o build/temp.macosx-10.9-universal2-cpython-312/src/av/option.o clang -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -g -L/opt/homebrew/opt/openssl@3/lib -I/opt/homebrew/opt/openssl@3/include build/temp.macosx-10.9-universal2-cpython-312/src/av/option.o -L/opt/homebrew/Cellar/ffmpeg/6.0_1/lib -L/opt/homebrew/opt/portaudio/lib/ -lavformat -lavcodec -lavdevice -lavutil -lavfilter -lswscale -lswresample -o build/lib.macosx-10.9-universal2-cpython-312/av/option.cpython-312-darwin.so ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavformat.60.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavdevice.60.1.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavutil.58.2.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavfilter.9.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libswresample.4.10.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libswscale.7.1.100.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/ffmpeg/6.0_1/lib/libavcodec.60.3.100.dylib': found architecture 'arm64', required architecture 'x86_64' building 'av.enum' extension clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/opt/portaudio/include/ -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c src/av/enum.c -o build/temp.macosx-10.9-universal2-cpython-312/src/av/enum.o src/av/enum.c:5798:3: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations] Pyx_GetModuleGlobalName(pyx_t_1, pyx_n_s_unpickle); if (unlikely(!pyx_t_1)) PYX_ERR(0, 212, pyx_L1_error) ^ src/av/enum.c:1439:43: note: expanded from macro 'Pyx_GetModuleGlobalName' (var) = (likely(pyx_dict_version == PYX_GET_DICT_VERSION(__pyx_d))) ?\ ^ src/av/enum.c:1411:65: note: expanded from macro 'PYX_GET_DICT_VERSION'
define __PYX_GET_DICT_VERSION(dict) (((PyDictObject*)(dict))->ma_version_tag)
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for av Building wheel for tokenizers (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for tokenizers (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [51 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-universal2-cpython-312 creating build/lib.macosx-10.9-universal2-cpython-312/tokenizers copying py_src/tokenizers/init.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers creating build/lib.macosx-10.9-universal2-cpython-312/tokenizers/models copying py_src/tokenizers/models/init.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/models creating build/lib.macosx-10.9-universal2-cpython-312/tokenizers/decoders copying py_src/tokenizers/decoders/init.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/decoders creating build/lib.macosx-10.9-universal2-cpython-312/tokenizers/normalizers copying py_src/tokenizers/normalizers/init.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/normalizers creating build/lib.macosx-10.9-universal2-cpython-312/tokenizers/pre_tokenizers copying py_src/tokenizers/pre_tokenizers/init.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/pre_tokenizers creating build/lib.macosx-10.9-universal2-cpython-312/tokenizers/processors copying py_src/tokenizers/processors/init.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/processors creating build/lib.macosx-10.9-universal2-cpython-312/tokenizers/trainers copying py_src/tokenizers/trainers/init.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/trainers creating build/lib.macosx-10.9-universal2-cpython-312/tokenizers/implementations copying py_src/tokenizers/implementations/byte_level_bpe.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/implementations copying py_src/tokenizers/implementations/sentencepiece_unigram.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/implementations copying py_src/tokenizers/implementations/sentencepiece_bpe.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/implementations copying py_src/tokenizers/implementations/base_tokenizer.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/implementations copying py_src/tokenizers/implementations/init.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/implementations copying py_src/tokenizers/implementations/char_level_bpe.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/implementations copying py_src/tokenizers/implementations/bert_wordpiece.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/implementations creating build/lib.macosx-10.9-universal2-cpython-312/tokenizers/tools copying py_src/tokenizers/tools/init.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/tools copying py_src/tokenizers/tools/visualizer.py -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/tools copying py_src/tokenizers/init.pyi -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers copying py_src/tokenizers/models/init.pyi -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/models copying py_src/tokenizers/decoders/init.pyi -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/decoders copying py_src/tokenizers/normalizers/init.pyi -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/normalizers copying py_src/tokenizers/pre_tokenizers/init.pyi -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/pre_tokenizers copying py_src/tokenizers/processors/init.pyi -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/processors copying py_src/tokenizers/trainers/init.pyi -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/trainers copying py_src/tokenizers/tools/visualizer-styles.css -> build/lib.macosx-10.9-universal2-cpython-312/tokenizers/tools 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 tokenizers Failed to build av tokenizers ERROR: Could not build wheels for av, tokenizers, which is required to install pyproject.toml-based projects