yt-whisper
yt-whisper copied to clipboard
Command not runnable after install
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?
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.
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
@sloganking From your cmd try cd to your C:/Users/<Your User>/AppData/Roaming/Python/<Python Version>/Scripts and see if yt_whisper is there. Then run the yt_whisper command.
I'm using Python v3.9 so for me it's /AppData/Roaming/Python/Python39/Scripts.
From my CLI:
I hope that helps!