Ubuntu: pip not working with python3.4

后端 未结 4 1308
余生分开走
余生分开走 2021-02-01 03:55

Trying to get pip working on my Ubuntu pc. pip seems to be working for python2.7, but not for others.

Here\'s the problem:

$ pip
Traceback (most recent c         


        
4条回答
  •  走了就别回头了
    2021-02-01 04:33

    I had a similar issue when running this command on my raspberry pi

    python3.4 -m pip install RPi.GPIO
    

    and got this error

    /usr/bin/python3.4: No module named pip
    

    resolved it by installing python3-pip

    sudo apt-get install python3-pip
    

提交回复
热议问题