-
Notifications
You must be signed in to change notification settings - Fork 109
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
pipx installed vosk not recognized by nerd-dictation, nor installable using pipx!? #120
Comments
Same here on manjaro, any help? |
Solved on manjaro by installing python-vosk-api from AUR instead of using pip3, then follow the install instructions |
for me what fixed it was I had to uninstall a package due to conflict with a package I guess I picked up from trying other commands: |
For some reason, when i tried this on a different machine, i also had to add to the PYTHONPATH the location of the installed python-vosk-bin get path with: |
First, a quick detail about how open source projects work and how GitHub works:
That is a pull request, meaning that someone else proposed a change to the project. If the change were accepted, it should make it possible to use the project that way. But it is not a "provided solution", because the change hasn't actually been made. It's still under discussion. With that out of the way:
This is a misunderstanding. Pip ( However, Python 3.11 introduces a new security feature specifically for the system Python installation that comes with Linux, in cooperation with the distro maintainers. (It can be disabled, but this is generally a bad idea.) You can still use Pip normally with any other copy of Python - for example, if you build it from source, or use a tool like PyEnv to install a separate copy, or - well, keep reading. The goal, as described in this YouTube video, is to allow your system package manager to handle all changes to the system Python's libraries, without Pip interfering. It's important to understand that even when you install just for the current user (without sudo rights and using Because of this, we need to choose a different approach when we install Python packages for the system Python. One way, of course, is to use the system package manager, if it makes the package available. If you have the option, go ahead and take it. But there is way more ready-packaged Python code out there than your distro maintainers can possibly oversee. (PyPI currently hosts over half a million projects.) Pipx is another approach. But it's intended for installing applications, not libraries. In our case, we want to install Vosk, which is a library that Since the main The easiest way to do that is to activate the virtual environment, by sourcing its Please also refer to this Linux Mint forum thread where I help out with installing this project. |
Hi,
There cannot be a better solution for STT in command line linux than
nerd-dictation
. Kudos to @ideasman42 for developing a nifty tool.python3.11
has moved frompip3
topipx
whichnerd-dictation
failed to detect:Whereas
pipx list
shows the existence ofvosk
module:Any input appreciated.
Cheers,
/z
The text was updated successfully, but these errors were encountered: