Build an environment where pip3 can be used with CentOS7 + Python3

Thing you want to do

I want to install Python3 on CentOS7 and use pip3.

Premise

Before installation

Of course, you can't use the pip3 command.

bash: pip3: command not found

python -V When you hit

Python 2.7.5

Is displayed.

python3.6 -V When you hit

bash: python3.6: command not found

Is displayed.

Installation procedure

Just run the following as root.

yum install python3

Then enter y,


Installed:
  python3.x86_64 0:3.6.8-17.el7

Dependency Installed:
  libtirpc.x86_64 0:0.2.4-0.16.el7                python3-libs.x86_64 0:3.6.8-17.el7                python3-pip.noarch 0:9.0.3-8.el7                python3-setuptools.noarch 0:39.2.0-10.el7

Complete!

Is displayed, it is successful.

Confirmation

python3.6 -V When you hit

Python 3.6.8

Is displayed and OK.

pip3 When you hit

Usage:
  pip <command> [options]

Is displayed and OK. The pip3 command is now available.

Recommended Posts

Build an environment where pip3 can be used with CentOS7 + Python3
Range where variables can be used with ruby [Scope]
Prepare Python3 environment with CentOS7
I installed WSL2 without using Microsoft Store and tried to build an environment where Docker can be used
Create an environment where CircleCI can be executed locally with Windows10 + WSL2 (Ubuntu) + Docker
Build an environment with Docker on AWS
Build an E2E test environment with Selenium (Java)
Organize methods that can be used with StringUtils
[Ruby] Methods that can be used with strings
[Rails] How to build an environment with Docker
[First team development ②] Build an environment with Docker
Build an environment where you can try Rails Girls or el-training on Clound9
Build an environment of Ruby2.7.x + Rails6.0.x + MySQL8.0.x with Docker
[Note] Build a Python3 environment with Docker in EC2
Compiled kotlin with cli with docker and created an environment that can be executed with java
Build Growai with Centos7
Summary of css selectors that can be used with Nookogiri
Create a page control that can be used with RecyclerView
Firebase-Realtime Database on Android that can be used with copy
Build a CentOS 8 virtual environment on your Mac with VirtualBox
Build softether VPN with Centos7.
Build docker environment with WSL
I tried to build an http2 development environment with Eclipse + Tomcat
SwiftUI View that can be used in combination with other frameworks
About the range and scope where Day16 variables can be used
Build Couchbase local environment with Docker
Build a Node.js environment with Docker
CentOS7 VirtualBOX yum cannot be used
Build a Tomcat 8.5 environment with Pleiades 4.8
Build PlantUML environment with VSCode + Docker
Build environment with vue.js + rails + docker
Build Rails environment with Docker Compose
Build jooby development environment with Eclipse
Build docker + laravel environment with laradock
Simple slot machine implementation that can be used with copy and paste
Build an environment of "API development + API verification using Swagger UI" with Docker
[Rails] "pry-rails" that can be used when saving with the create method
01. I tried to build an environment with SpringBoot + IntelliJ + MySQL (MyBatis) (Windows10)
Build a development environment on AWS EC2 with CentOS7 + Nginx + pm2 + Nuxt.js
Performance analysis and failure diagnostic tools that can be used with OpenJDK
Ruby array methods that can be used with Rails (other than each)