phoenix84
phoenix84

Reputation: 145

How to run program installed with pip3?

Stupid question, but I cannot google the answer :/.

I used pip3 to to install mps-youtube

pip3 install mps-youtube youtube-dl

How to run it now?

I tried to do that with environment activated and disactivated. pip3 show tells me that file is in: .local/lib/python3.6/site-packages

typing mps-youtube, python mps-youtube, python3 mps-youtube gives file not exists.

When I get to .local/lib/python3.6/site-packages/mps-youtube there is no any file looking like a file which I can run or copy to /usr/bin...

Thx.

K.

Upvotes: 5

Views: 6126

Answers (1)

LostInBrittany
LostInBrittany

Reputation: 1162

In most Linux systems, programs installed with Pip are un ~/.local/bin folder. If it is the case, you could simply add the folder to the PATH:

export PATH=~/.local/bin:$PATH

(I know the question is three years old, I stumbled on this problem today and I see this unanswered question. So as I found the answer I thought it was a good idea to post it here)

Upvotes: 1

Related Questions