Search – The command in pip used for searching packages.ĭebug – It displays information useful for debugging. Show – The show command display information about installed packages.Ĭheck – It verifies if the installed packages have compatible dependencies.Ĭonfig – This command is for managing local and global configuration. List – The is list command lists the installed packages Uninstall – Used for Uninstalling Packagesĭownload – The download command is used for downloading packagesįreeze – The free command is used to get output installed packages in required format. How to Use PipĪs you know using pip you can download and install packages from Python Package Index (PyPi). We guess you should have some basic knowledge about pip in order to use it properly. The output should look like- pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8) In order to check it out, you will have to check pip version by running the given command- $ pip3 -version The sudo apt install python3-pip will not only install pip for python 3 but also it will install the dependencies that are used for creating or building python modules.Īfter installing pip for python 3 you can verify if the package is installed on your system. In order to install pip for python 2 on Ubuntu run the following command- $ sudo apt update Installing pip for python 3 is much easier than installing it for Python 2. Output should be like this- pip 20.3.4 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7) The version will be shown up only if pip is installed on your sytem. To verify the pip installation on your Ubuntu run the given command to check installed pip version. After running the given command the latest version of pip will be installed on your ubuntu system.
0 Comments
Leave a Reply. |
AuthorShane ArchivesCategories |