I have error with openaiwhisper /u/JoyBoy506 Python Education

python3 -m pip install git+https://github.com/openai/whisper.git Defaulting to user installation because normal site-packages is not writeable Collecting git+https://github.com/openai/whisper.git Cloning https://github.com/openai/whisper.git to /private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-req-build-2bqkqax2 Running command git clone –filter=blob:none –quiet https://github.com/openai/whisper.git /private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-req-build-2bqkqax2 Resolved https://github.com/openai/whisper.git to commit 8cf36f3508c9acd341a45eb2364239a3d81458b9 Preparing metadata (setup.py) … done Collecting numpy Using cached numpy-1.23.3-cp38-cp38-macosx_11_0_arm64.whl (13.3 MB) Collecting torch Using cached torch-1.12.1-cp38-none-macosx_11_0_arm64.whl (49.1 MB) Collecting tqdm Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB) Collecting more-itertools Using cached more_itertools-8.14.0-py3-none-any.whl (52 kB) Collecting transformers>=4.19.0 Using cached transformers-4.22.1-py3-none-any.whl (4.9 MB) Collecting ffmpeg-python==0.2.0 Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB) Collecting future Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py) … done Requirement already satisfied: filelock in ./Library/Python/3.8/lib/python/site-packages (from transformers>=4.19.0->whisper==1.0) (3.8.0) Collecting huggingface-hub<1.0,>=0.9.0 Using cached huggingface_hub-0.9.1-py3-none-any.whl (120 kB) Collecting regex!=2019.12.17 Using cached regex-2022.9.13-cp38-cp38-macosx_11_0_arm64.whl (287 kB) Collecting tokenizers!=0.11.3,<0.13,>=0.11.1 Using cached tokenizers-0.12.1.tar.gz (220 kB) Installing build dependencies … done Getting requirements to build wheel … error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [20 lines of output] Traceback (most recent call last): File “/Users/alexandervanvik/Library/Python/3.8/lib/python/site-packages/pip/vendor/pep517/in_process/_in_process.py”, line 363, in <module> main() File “/Users/alexandervanvik/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 345, in main json_out[‘return_val’] = hook(**hook_input[‘kwargs’]) File “/Users/alexandervanvik/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 130, in get_requires_for_build_wheel return hook(config_settings) File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py”, line 146, in get_requires_for_build_wheel return self._get_build_requires( File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py”, line 127, in _get_build_requires self.run_setup() File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py”, line 142, in run_setup exec(compile(code, __file, ‘exec’), locals()) File “setup.py”, line 2, in <module> from setuptools_rust import Binding, RustExtension File “/private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-build-env-y6c24j1v/overlay/lib/python3.8/site-packages/setuptools_rust/init_.py”, line 1, in <module> from .build import build_rust File “/private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-build-env-y6c24j1v/overlay/lib/python3.8/site-packages/setuptools_rust/build.py”, line 23, in <module> from setuptools.command.build import build as CommandBuild # type: ignore[import] ModuleNotFoundError: No module named ‘setuptools.command.build’ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel 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.

I need help. I try many solutions, install whit pip, git, etc.

submitted by /u/JoyBoy506
[link] [comments]

​r/learnpython python3 -m pip install git+https://github.com/openai/whisper.git Defaulting to user installation because normal site-packages is not writeable Collecting git+https://github.com/openai/whisper.git Cloning https://github.com/openai/whisper.git to /private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-req-build-2bqkqax2 Running command git clone –filter=blob:none –quiet https://github.com/openai/whisper.git /private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-req-build-2bqkqax2 Resolved https://github.com/openai/whisper.git to commit 8cf36f3508c9acd341a45eb2364239a3d81458b9 Preparing metadata (setup.py) … done Collecting numpy Using cached numpy-1.23.3-cp38-cp38-macosx_11_0_arm64.whl (13.3 MB) Collecting torch Using cached torch-1.12.1-cp38-none-macosx_11_0_arm64.whl (49.1 MB) Collecting tqdm Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB) Collecting more-itertools Using cached more_itertools-8.14.0-py3-none-any.whl (52 kB) Collecting transformers>=4.19.0 Using cached transformers-4.22.1-py3-none-any.whl (4.9 MB) Collecting ffmpeg-python==0.2.0 Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB) Collecting future Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py) … done Requirement already satisfied: filelock in ./Library/Python/3.8/lib/python/site-packages (from transformers>=4.19.0->whisper==1.0) (3.8.0) Collecting huggingface-hub<1.0,>=0.9.0 Using cached huggingface_hub-0.9.1-py3-none-any.whl (120 kB) Collecting regex!=2019.12.17 Using cached regex-2022.9.13-cp38-cp38-macosx_11_0_arm64.whl (287 kB) Collecting tokenizers!=0.11.3,<0.13,>=0.11.1 Using cached tokenizers-0.12.1.tar.gz (220 kB) Installing build dependencies … done Getting requirements to build wheel … error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [20 lines of output] Traceback (most recent call last): File “/Users/alexandervanvik/Library/Python/3.8/lib/python/site-packages/pip/vendor/pep517/in_process/_in_process.py”, line 363, in <module> main() File “/Users/alexandervanvik/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 345, in main json_out[‘return_val’] = hook(**hook_input[‘kwargs’]) File “/Users/alexandervanvik/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 130, in get_requires_for_build_wheel return hook(config_settings) File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py”, line 146, in get_requires_for_build_wheel return self._get_build_requires( File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py”, line 127, in _get_build_requires self.run_setup() File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py”, line 142, in run_setup exec(compile(code, __file, ‘exec’), locals()) File “setup.py”, line 2, in <module> from setuptools_rust import Binding, RustExtension File “/private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-build-env-y6c24j1v/overlay/lib/python3.8/site-packages/setuptools_rust/init_.py”, line 1, in <module> from .build import build_rust File “/private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-build-env-y6c24j1v/overlay/lib/python3.8/site-packages/setuptools_rust/build.py”, line 23, in <module> from setuptools.command.build import build as CommandBuild # type: ignore[import] ModuleNotFoundError: No module named ‘setuptools.command.build’ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel 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. I need help. I try many solutions, install whit pip, git, etc. submitted by /u/JoyBoy506 [link] [comments] 

python3 -m pip install git+https://github.com/openai/whisper.git Defaulting to user installation because normal site-packages is not writeable Collecting git+https://github.com/openai/whisper.git Cloning https://github.com/openai/whisper.git to /private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-req-build-2bqkqax2 Running command git clone –filter=blob:none –quiet https://github.com/openai/whisper.git /private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-req-build-2bqkqax2 Resolved https://github.com/openai/whisper.git to commit 8cf36f3508c9acd341a45eb2364239a3d81458b9 Preparing metadata (setup.py) … done Collecting numpy Using cached numpy-1.23.3-cp38-cp38-macosx_11_0_arm64.whl (13.3 MB) Collecting torch Using cached torch-1.12.1-cp38-none-macosx_11_0_arm64.whl (49.1 MB) Collecting tqdm Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB) Collecting more-itertools Using cached more_itertools-8.14.0-py3-none-any.whl (52 kB) Collecting transformers>=4.19.0 Using cached transformers-4.22.1-py3-none-any.whl (4.9 MB) Collecting ffmpeg-python==0.2.0 Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB) Collecting future Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py) … done Requirement already satisfied: filelock in ./Library/Python/3.8/lib/python/site-packages (from transformers>=4.19.0->whisper==1.0) (3.8.0) Collecting huggingface-hub<1.0,>=0.9.0 Using cached huggingface_hub-0.9.1-py3-none-any.whl (120 kB) Collecting regex!=2019.12.17 Using cached regex-2022.9.13-cp38-cp38-macosx_11_0_arm64.whl (287 kB) Collecting tokenizers!=0.11.3,<0.13,>=0.11.1 Using cached tokenizers-0.12.1.tar.gz (220 kB) Installing build dependencies … done Getting requirements to build wheel … error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [20 lines of output] Traceback (most recent call last): File “/Users/alexandervanvik/Library/Python/3.8/lib/python/site-packages/pip/vendor/pep517/in_process/_in_process.py”, line 363, in <module> main() File “/Users/alexandervanvik/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 345, in main json_out[‘return_val’] = hook(**hook_input[‘kwargs’]) File “/Users/alexandervanvik/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 130, in get_requires_for_build_wheel return hook(config_settings) File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py”, line 146, in get_requires_for_build_wheel return self._get_build_requires( File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py”, line 127, in _get_build_requires self.run_setup() File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py”, line 142, in run_setup exec(compile(code, __file, ‘exec’), locals()) File “setup.py”, line 2, in <module> from setuptools_rust import Binding, RustExtension File “/private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-build-env-y6c24j1v/overlay/lib/python3.8/site-packages/setuptools_rust/init_.py”, line 1, in <module> from .build import build_rust File “/private/var/folders/qs/02_mqb5n15lcphy5byrf_sn00000gn/T/pip-build-env-y6c24j1v/overlay/lib/python3.8/site-packages/setuptools_rust/build.py”, line 23, in <module> from setuptools.command.build import build as CommandBuild # type: ignore[import] ModuleNotFoundError: No module named ‘setuptools.command.build’ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel 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.

I need help. I try many solutions, install whit pip, git, etc.

submitted by /u/JoyBoy506
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *