-
Notifications
You must be signed in to change notification settings - Fork 815
Description
Hello,
Sorry I am just getting into Python and this is surely something very basic I have missed. I did look through the readme and some of the forum posts. I set up a new project with an activated venv and tried to install your RealtimeSTT. I got the following message - would really appreciate a bit of assistance - perhaps it is something to do with global/versus venv package availability and paths..?...thanks
(.venv) PS C:.........\PythonProject\Firstopenaitest> pip install RealtimeSTT [I removed C: path detail]
Collecting RealtimeSTT
Obtaining dependency information for RealtimeSTT from https://files.pythonhosted.org/packages/a2/b4/e151ddccf02bc548234e76f7bc52ac0f602fd5ef722fc0e4fa69092cb47e/realtimestt-0.3.98-py3-none-any.whl.metadata
Downloading realtimestt-0.3.98-py3-none-any.whl.metadata (29 kB)
Collecting PyAudio==0.2.14 (from RealtimeSTT)
Obtaining dependency information for PyAudio==0.2.14 from https://files.pythonhosted.org/packages/a5/8b/7f9a061c1cc2b230f9ac02a6003fcd14c85ce1828013aecbaf45aa988d20/PyAudio-0.2.14-cp313-cp313-win_amd64.whl.metadata
Downloading PyAudio-0.2.14-cp313-cp313-win_amd64.whl.metadata (2.7 kB)
Collecting faster-whisper==1.1.1 (from RealtimeSTT)
Obtaining dependency information for faster-whisper==1.1.1 from https://files.pythonhosted.org/packages/ad/69/28359d152f9e2ec1ff4dff3da47011b6346e9a472f89b409bb13017a7d1f/faster_whisper-1.1.1-py3-none-any.whl.metadata
Downloading faster_whisper-1.1.1-py3-none-any.whl.metadata (16 kB)
Collecting pvporcupine==1.9.5 (from RealtimeSTT)
Obtaining dependency information for pvporcupine==1.9.5 from https://files.pythonhosted.org/packages/49/73/56fe355fe0f124616935510fb68bb46800df343cef0996eeb0b4869745a5/pvporcupine-1.9.5-py3-none-any.whl.metadata
Downloading pvporcupine-1.9.5-py3-none-any.whl.metadata (3.8 kB)
Collecting webrtcvad-wheels==2.0.14 (from RealtimeSTT)
Obtaining dependency information for webrtcvad-wheels==2.0.14 from https://files.pythonhosted.org/packages/f9/7c/73b9dd022c835e19180aad8aafd2f33863c02cbbafd5bc599dd54f6c1111/webrtcvad_wheels-2.0.14-cp313-cp313-win_amd64.whl.metadata
Downloading webrtcvad_wheels-2.0.14-cp313-cp313-win_amd64.whl.metadata (5.6 kB)
Collecting halo==0.0.31 (from RealtimeSTT)
Downloading halo-0.0.31.tar.gz (11 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting torch (from RealtimeSTT)
Obtaining dependency information for torch from https://files.pythonhosted.org/packages/c2/9c/fc5224e9770c83faed3a087112d73147cd7c7bfb7557dcf9ad87e1dda163/torch-2.6.0-cp313-cp313-win_amd64.whl.metadata
Downloading torch-2.6.0-cp313-cp313-win_amd64.whl.metadata (28 kB)
Collecting torchaudio (from RealtimeSTT)
Obtaining dependency information for torchaudio from https://files.pythonhosted.org/packages/55/c8/3010878a5e7f15d89450e22769697173c6dc244a0647ddc5386c28b6dacc/torchaudio-2.6.0-cp313-cp313-win_amd64.whl.metadata
Downloading torchaudio-2.6.0-cp313-cp313-win_amd64.whl.metadata (6.7 kB)
Collecting scipy==1.15.1 (from RealtimeSTT)
Obtaining dependency information for scipy==1.15.1 from https://files.pythonhosted.org/packages/48/7d/5b5251984bf0160d6533695a74a5fddb1fa36edd6f26ffa8c871fbd4782a/scipy-1.15.1-cp313-cp313-win_amd64.whl.metadata
Downloading scipy-1.15.1-cp313-cp313-win_amd64.whl.metadata (60 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 2.1 MB/s eta 0:00:00
Collecting openwakeword>=0.4.0 (from RealtimeSTT)
Obtaining dependency information for openwakeword>=0.4.0 from https://files.pythonhosted.org/packages/8a/33/dafd6822bebe463a9098951d06a0d88fb4f8c946ce087025bc4fa132e533/openwakeword-0.6.0-py3-none-any.whl.metadata
Downloading openwakeword-0.6.0-py3-none-any.whl.metadata (29 kB)
Collecting websockets==14.2 (from RealtimeSTT)
Obtaining dependency information for websockets==14.2 from https://files.pythonhosted.org/packages/14/13/8b7fc4cb551b9cfd9890f0fd66e53c18a06240319915533b033a56a3d520/websockets-14.2-cp313-cp313-win_amd64.whl.metadata
Downloading websockets-14.2-cp313-cp313-win_amd64.whl.metadata (7.0 kB)
Collecting websocket-client==1.8.0 (from RealtimeSTT)
Obtaining dependency information for websocket-client==1.8.0 from https://files.pythonhosted.org/packages/5a/84/44687a29792a70e111c5c477230a72c4b957d88d16141199bf9acb7537a3/websocket_client-1.8.0-py3-none-any.whl.metadata
Downloading websocket_client-1.8.0-py3-none-any.whl.metadata (8.0 kB)
Collecting numpy<2.0.0 (from RealtimeSTT)
Downloading numpy-1.26.4.tar.gz (15.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 3.5 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
+ C:\Users\edbgo\PycharmProjects\PythonProject\Firstopenaitest.venv\Scripts\python.exe C:\Users\edbgo\AppData\Local\Temp\pip-install-gotbcd96\numpy_eda6d06dd700492db1c91f81b8f9f3c3\vendored-meson\meson\meson.py setup C
:\Users\edbgo\AppData\Local\Temp\pip-install-gotbcd96\numpy_eda6d06dd700492db1c91f81b8f9f3c3 C:\Users\edbgo\AppData\Local\Temp\pip-install-gotbcd96\numpy_eda6d06dd700492db1c91f81b8f9f3c3.mesonpy-yow_kfb5 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\edbgo\AppData\Local\Temp\pip-install-gotbcd96\numpy_eda6d06dd700492db1c91f81b8f9f3c3.mesonpy-yow_kfb5\meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: C:\Users\edbgo\AppData\Local\Temp\pip-install-gotbcd96\numpy_eda6d06dd700492db1c91f81b8f9f3c3
Build dir: C:\Users\edbgo\AppData\Local\Temp\pip-install-gotbcd96\numpy_eda6d06dd700492db1c91f81b8f9f3c3.mesonpy-yow_kfb5
Build type: native build
Project name: NumPy
Project version: 1.26.4
WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
The following exception(s) were encountered:
Running `icl ""` gave "[WinError 2] The system cannot find the file specified"
Running `cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `cc --version` gave "[WinError 2] The system cannot find the file specified"
Running `gcc --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang-cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `pgcc --version` gave "[WinError 2] The system cannot find the file specified"
A full log can be found at C:\Users\edbgo\AppData\Local\Temp\pip-install-gotbcd96\numpy_eda6d06dd700492db1c91f81b8f9f3c3\.mesonpy-yow_kfb5\meson-logs\meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.