-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"metadata-generation-failed" error preventing install #290
Comments
Oh! Interesting. It looks like setuptools is trying to generate a Microsoft Installer (MSI) package. I didn't even know it could do that... I'm really not sure why it is trying to do that... and apparently that is deprecated since Python 3.9: https://docs.python.org/3/distutils/builtdist.html This seems to be the scourge of Python packaging which is incompatible and unreliable versions of setuptools vs. wheel. vs. pip vs. spam vs. eggs... This could be something in the pocketsphinx-python package which is, sadly, external to PocketSphinx itself and has its own issue tracker at https://github.com/bambocher/pocketsphinx-python/issues though I think it is not maintained. |
I've seen pocketsphinx-python, sadly it's not maintained by the looks of it, no. I ended up getting around this issue through a friend, who when building using CMake failed, resorted to just sending me the lib from their machine which is somewhere it did successfully install on. I think part of the issue comes down to the ambiguity of As I mentioned in #269, I'm looking at using pocketsphinx for offline voice processing, but I've learned today that the speech recognition library from Uberi uses the defunct |
Yes ... I'm starting the process to get the The |
Just checked that out, really good to see that the wheel is built. Not sure if there's one based on arm processors yet but I'm sure one will come eventually. As for speech recognition library from Uberi using the old version, I might have to raise an issue on their end to get them to switch over to this much more feature rich and stable version of pocketsphinx. |
Hi, I've made a new pre-release which reclaims the "pocketsphinx" name and is available on PyPI. Because it's a pre-release you need the --pre flag to pip to install it, which is a good thing, because... ... there is a tiny problem with it which prevents it working with Uberi speech_recognition: #294 To avoid any possible confusion I won't redo the release just for this, as there may be some other compatibility issues, but if you want to try installing from source (also possible with pip) you can try it... |
Really glad to see that it should eventually work with Uberi's speech recog. Thank you for the continual updates! |
I thought there might have to be some work on Uberi's side to make Speech recog work, is that not the case? I'm not 100% sure on how it's implemented |
Just a tiny change, they were using an internal module that wasn't meant to be used directly: |
Ah I see! Going to follow it closely. Hopefully it should be a quick one |
This should all be fixed since https://github.com/cmusphinx/pocketsphinx/releases/tag/v5.0.0rc4 - and you can get it from PyPI by passing the
|
Trying to use pip to install and keep running into this error:
Running python version 3.8.3, pip 22.2.2, setuptools-65.3.0 and wheel-0.37.1. Windows 10 Pro 21H2
Any help is massively appreciated!
The text was updated successfully, but these errors were encountered: