Skip to content

Instantly share code, notes, and snippets.

@iDoka
Forked from diegopacheco/pip3-centos-amazon-linux.md
Last active September 26, 2021 10:27
Show Gist options
  • Save iDoka/9b0ece65f73df62ab779eca8ec338c70 to your computer and use it in GitHub Desktop.
Save iDoka/9b0ece65f73df62ab779eca8ec338c70 to your computer and use it in GitHub Desktop.
How to install pip3 on CentOS 7 Linux?

Install pip3 on CentOS 7

CentOS 7 still have Python 2.7 as the default tool. EPEL repository comes up with Python 3. Here’s the way to setup Python 3 and pip3 on CentOS environment.

Type on terminal:

sudo yum install -y python34-setuptools
sudo easy_install-3.4 pip

or try:

curl https://bootstrap.pypa.io/get-pip.py | python3.4

now we can:

pip3 -V
sudo pip3 install pyserial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment