pip3: command not found but python3-pip is already installed

前端 未结 9 2030
执笔经年
执笔经年 2021-01-30 03:23

I can\'t use pip3 though python3-pip has already been installed. How to solve the problem?

sudo pip3 install virtualenv
sudo: pip3: command not found

sudo apt-g         


        
9条回答
  •  北荒
    北荒 (楼主)
    2021-01-30 03:48

    Run

    locate pip3
    

    it should give you a list of results like this

    //pip3
    //pip3.x
    

    go to /usr/local/bin to make a symbolic link to where your pip3 is located

    ln -s //pip3.x /usr/local/bin/pip3
    

提交回复
热议问题