1. Preparing the Environment
System Tools | version |
---|---|
CentOS | 7 |
2. Install Epel
Open the console, enter the following command:
sudo yum install epel-release
3. Install python34
- Open the console, enter the following command:
sudo yum install python34
- Modify the python executable file name
cd /usr/bin
mv python3.4 python
4. Verify python
Open the console, enter the following command:
python
Into the python console
5. Installation pip
Open the console, enter the custom tools directory, enter the following command:
cd /home/tools
curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
6. Verify pip
Open the console, enter the following command:
pip --version
View pip version