美文网首页
pip3: command not found but pyth

pip3: command not found but pyth

作者: zzw1987 | 来源:发表于2019-03-16 10:51 被阅读0次

在常用pip3中 pip3 install -r requirements.txt
可能会提示
Command 'pip3' not found, but can be installed with:

sudo apt install python3-pip
装python3-pip会显示已经安装python3-pip is already installed
用下面的命令行即可

locate pip3 //查看pip3的位置
提示:
/home/××/PycharmProjects/untitled/venv/bin/pip3
/home/××/PycharmProjects/untitled/venv/bin/pip3.6
/usr/share/man/man1/pip3.1.gz
/var/crash/_usr_bin_pip3.0.crash
sudo ln -s /home/××/PycharmProjects/untitled/venv/bin/pip3.6 /usr/local/bin/pip3

完成!

相关文章

网友评论

      本文标题:pip3: command not found but pyth

      本文链接:https://www.haomeiwen.com/subject/tomjmqtx.html