唯米天空

关注

~bash:pip:command not found

唯米天空

关注

阅读 168

2022-03-12

前景

python正常使用,但是pip命令无法使用

  

解决办法

到 /usr/bin/ 目录下查找pip

如果没有上图红框内容,问题是未建立pip3与 pip的软连接;

用下面命令建立软连接即可。

ln -s /usr/bin/pip3 /usr/bin/pip

后续可正常使用pip命令 

相关推荐

骨灰级搬砖工

-bash: nohup: command not found

骨灰级搬砖工 175 0 0

两岁时就很帅

bash: vue: command not found

两岁时就很帅 246 0 0

阎小妍

-bash: vim: command not found

阎小妍 153 0 0

北溟有渔夫

-bash: whichwhere: command not found

北溟有渔夫 33 0 0

像小强一样活着

-bash: tree: command not found

像小强一样活着 162 0 0

苦茶如歌

bash: mysqldump: command not found

苦茶如歌 173 0 0

莞尔小迷糊

-bash: ftp: command not found

莞尔小迷糊 169 0 0

一脸伟人痣

bash: lsof: command not found

一脸伟人痣 36 0 0

瑾谋

-bash: sz: command not found

瑾谋 173 0 0

大漠雪关山月

-bash: jstack: command not found

大漠雪关山月 165 0 0

精彩评论(0)

0 0 举报