Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Installing pip in Raspberry pi3

Sorry I am newbie, when I try to install pip using following command

$ wget https://bootstrap.pypa.io/get-pip.py
$ sudo python get-pip.py

I get following error

ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.

Please help me out

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Well you have two options, either use python3 with

sudo apt install python3 -y
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py

Or install it with python2:

wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
sudo python get-pip.py

But if you just want to install pip you can do it with:

sudo apt install python3-pip -y

or

sudo apt install python-pip -y
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading