Package Details: python-speechrecognition 3.14.5-1

Git Clone URL: https://aur.archlinux.org/python-speechrecognition.git (read-only, click to copy)
Package Base: python-speechrecognition
Description: Speech recognition module for Python, supporting several engines and APIs
Upstream URL: https://github.com/Uberi/speech_recognition
Keywords: amazon-lex audio cmu-sphinx google-cloud groq local speech vosk whisper
Licenses: BSD-3-Clause
Submitter: None
Maintainer: marmis
Last Packager: marmis
Votes: 7
Popularity: 0.108682
First Submitted: 2015-01-29 02:22 (UTC)
Last Updated: 2026-03-01 08:27 (UTC)

Latest Comments

1 2 3 Next › Last »

jghodd commented on 2026-03-01 20:48 (UTC)

@marmis thanks. got it.

marmis commented on 2026-03-01 17:18 (UTC) (edited on 2026-03-01 22:45 (UTC) by marmis)

@jghodd It's the same thing, actually.

youknowone/python-deadlib is not actually a single package, but a collection of small packages (like standard-aifc on PyPI). The AUR package used to be named python-deadlib, but there's no single module named deadlib in there. So, when it was moved to extra, it became a split package using the same naming from PyPI. This also aligns better with how upstream declares the dependency.

In your case, please remove python-deadlib because that's not a package in AUR anymore. Then install the deadlib packages from the official repos.

jghodd commented on 2026-03-01 13:59 (UTC) (edited on 2026-03-01 14:01 (UTC) by jghodd)

Getting a build error:


==> Starting build()...
* Getting build dependencies for wheel...
Traceback (most recent call last):
  File "/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
    main()
    ~~~~^^
  File "/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
    return hook(config_settings)
  File "/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=[])
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
    self.run_setup()
    ~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 520, in run_setup
    super().run_setup(setup_script=setup_script)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
    exec(code, locals())
    ~~~~^^^^^^^^^^^^^^^^
  File "<string>", line 10, in <module>
  File "/bslx/bslxbuild/python-speechrecognition/src/speech_recognition-3.14.5/speech_recognition/__init__.py", line 7, in <module>
    import aifc
ModuleNotFoundError: No module named 'aifc'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
==> ERROR: A failure occurred in build().
    Aborting...

I'm unable to install python-standard-aifc because it conflicts with python-deadlib which is required by python-speechrecognition. Is there some other way to get the aifc module?

Are we missing a dependency, or has a dependency changed?

marmis commented on 2026-02-23 22:39 (UTC) (edited on 2026-02-23 22:42 (UTC) by marmis)

Hi! Tests are still included in the package at "${pkgdir}"/usr/lib/python*/site-packages/tests, causing conflicts with lieer (which shouldn't have these either). See Test directory in site-package.

micwoj92 commented on 2025-07-10 03:48 (UTC)

Is provides=('python-speech_recognition') required? This is not needed by any other pkg

micwoj92 commented on 2025-05-07 17:52 (UTC)

Thanks

micwoj92 commented on 2025-05-01 16:18 (UTC)

Please revert commit: https://aur.archlinux.org/cgit/aur.git/commit/?h=python-speechrecognition&id=8c1ee997e22bb480e932b36ac4387b0def1687de

See pinned comment of python-deadlib.

envolution commented on 2025-03-11 19:53 (UTC)

@vvch thanks, I added some cleanup commands but can't test it currently, please let me know if there are further problems

vvch commented on 2025-03-11 06:55 (UTC)

Stores files directly to

/usr/lib/python3.13/site-packages/tests/

like

/usr/lib/python3.13/site-packages/tests/init.py /usr/lib/python3.13/site-packages/tests/pycache/ /usr/lib/python3.13/site-packages/tests/pycache/init.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/tests/pycache/init.cpython-313.pyc /usr/lib/python3.13/site-packages/tests/pycache/test_audio.cpython-313.opt-1.pyc

which seems to be not good and may conflict with other packages

envolution commented on 2025-03-06 01:41 (UTC)

@That1Calculator done, thanks for the report