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

Command not runnable after install #27

Open
sloganking opened this issue Nov 3, 2022 · 3 comments
Open

Command not runnable after install #27

sloganking opened this issue Nov 3, 2022 · 3 comments

Comments

@sloganking
Copy link

After running

pip install git+https://github.com/m1guelpf/yt-whisper.git

and

yt_whisper "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

I get

bash: yt_whisper: command not found

Does python have a directory I need to add to my path?

@sloganking sloganking changed the title Explain how to add python binary to path Command not runnable after install Nov 4, 2022
@sloganking
Copy link
Author

It seems to install in my /home/username/.local/bin/yt_whisper. I am not sure if this directory should be added to my system path, since it has a lot of other python scripts in it, but I can run it since I've found it now.

Not sure if this repo wants to add path location to it's docs.

@BaseInfinity
Copy link

BaseInfinity commented Dec 13, 2022

I just ran into this as well.

I fixed this by adding the following line to my ~/.bashrc or ~/.bash_profile:
export PATH="~/.local/bin:$PATH"

Alternatively you can install the package globally:
sudo -H pip install git+https://github.com/m1guelpf/yt-whisper.git

@mrpassiontea
Copy link

mrpassiontea commented Jan 11, 2023

@sloganking From your cmd try cd to your C:/Users//AppData/Roaming/Python//Scripts and see if yt_whisper is there. Then run the yt_whisper command.

image
I'm using Python v3.9 so for me it's /AppData/Roaming/Python/Python39/Scripts.

image

From my CLI:
image

I hope that helps!

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