Skip to content
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

Pip instructions are incorrect #126

Open
morgannunan opened this issue May 26, 2024 · 6 comments
Open

Pip instructions are incorrect #126

morgannunan opened this issue May 26, 2024 · 6 comments

Comments

@morgannunan
Copy link

The instructions to install this via pip just say pip install package/python.

@ideasman42
Copy link
Owner

What is the error you're getting?

@morgannunan
Copy link
Author

It's just not clear to me how this would install nerd-dictation. Am I supposed to first install vosk with pip, then clone nerd-dictation with git, then cd into it, get the language model, and then run pip install package/python to finish installing nerd-dictation?

@ideasman42
Copy link
Owner

ideasman42 commented May 28, 2024

nerd-dictation is a stand alone script, there is no need to install it, you may symlink the script to ~/.local/bin/ or some other location in your $PATH, I'd still be interested to know the errors you rain into.

@Moini
Copy link

Moini commented Jun 28, 2024

Works for me - you need to run the given command from the nerddictation root folder.

@ideasman Installation is necessary for elograf. Simple symlinking probably will not take the modules with it, so unless you want to copy the whole git repo into the bin folder... it makes more sense to install.

@morgannunan
Copy link
Author

I get it. I have to cd into the installl folder, then run pip install package/python and it will install whatever package is present in the current folder. This was the part that didn't make sense to me. Maybe that's ignorant of me, but you might consider editing these instructions, like so:

To install nerd-dictaiton as a package from pip, run pip install package/python from within the nerd-dictation directory.

@Moini
Copy link

Moini commented Jun 28, 2024

Yes. package/python is a path, not some kind of magic command (which I thought at first, too :) ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants