- Mastering Python Scripting for System Administrators
- Ganesh Sanjiv Naik
- 46字
- 2021-07-02 14:00:16
Installing and using pip to install packages
In Linux, install pip as follows:
sudo apt install python-pip --- This will install pip for python 2.
sudo apt install python3-pip --- This will install pip for python 3.
In Windows, install pip as follows:
python -m pip install pip