chenpro 2020-05-15
1. python3-pip installed but pip3 command not found?
sudo apt install python3-pip 执行命令,显示已经安装成功, 但是,执行的时候却找不到pip3
:~/Documents/backup_code/RF$ sudo pip3 install --upgrade pip
sudo: pip3: command not found
解决办法
:~$ dpkg -L python3-pip
....
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/pip3.1.gz
/usr/share/doc
/usr/share/doc/python3-pip
/usr/share/doc/python3-pip/copyright
/usr/bin
/usr/bin/pip3
/usr/share/doc/python3-pip/changelog.Debian.gz
:~$ sudo ln -s /usr/bin/pip3 /usr/local/bin/pip3