Run programs installed by Pip in Ubuntu 20.04
As a newbie I try to learn new things everyday, especially when installing: apt, snap, flatpack, appimage, etc. Yesterday I found pip: Python Package Installer, but couldn't get it to work. To test pip I tried a funny little terminal program: Doge. I use Ubuntu 20.04, it's Python 3 only, and has no Python 2 support.
$ sudo apt install python3-pip
$ sudo pip3 install doge
$ pip3 listSo Doge 3.5.0 is listed. But how do I run the program?
The Doge program is not important, I can download it with wget and it works. The important qestion is: how do I run something installed by pip?
11 Answer
After some help I found that I missed a line in the beginning of the installation. The correct way is:
$ sudo apt install python3-setuptools
$ sudo apt install python3-pip
$ sudo pip3 install doge
$ pip3 listIf I wasn't such a noob I would have used which to begin. It gave:
/usr/local/bin
so this also worked:
$ cd /usr/local/bin
$ ./doge 1