Introduction
Actually, there is a previous article which has the exact content with this article. It has the exact content for showing how to perform pip installation. That article exist in this link with the title of ‘How to Install pip in Microsoft Windows’. Furthermore, in that article, the execution for installing pip tool is in a local device running a Microsoft Windows 10. On the other hand, this article has the content where the focus of the pip tool installation is in a local device running using Microsoft Windows 11. Actually, the process does not have any specific differences although it is in devices with different version of operating system.
How to Install pip tool in Microsoft Windows 11
So, the following is the step for installing pip tool in Microsoft Windows 11 :
-
First of all, just execute the command prompt. It is important to remember that the execution with the Administrator account along its previlege will make it easier for the installation step. It is obvious, since using the Administrator account will no longer have to worry about the issue of lacking privileges.
- Make sure that ‘pip’ tool does not really exist by typing the ‘pip’ command as follows :
C:\Users\Personal\Downloads>pip get-pip.py 'pip' is not recognized as an internal or external command, operable program or batch file. C:\Users\Personal\Downloads>
-
So, the ‘pip’ command is not exist for further execution. In that case, just execute the command for installing the ‘pip’ tool. In order to do that, it need ‘python’ for the installation. In other words, just make sure that ‘python’ exist in the command line. The following is the command for checking the availability of python :
C:\Users\Personal\Downloads>where python C:\Program Files\Inkscape\bin\python.exe C:\Users\Personal\AppData\Local\Microsoft\WindowsApps\python.exe C:\Users\Personal\Downloads>
Moreover, the following is the command to check the python available in the command line :
C:\Users\Personal\Downloads>python --version Python 3.9.10 C:\Users\Personal\Downloads>
-
Following after, just download the file for installing ‘pip’ tool. It is an installer file with the name of ‘get-pip.py’ which is available in this link.
-
After successfully downloading the ‘pip’ tool file installer, just execute it as follows :
C:\Users\Personal\Downloads>python get-pip.py Collecting pip Using cached pip-22.1.2-py3-none-any.whl (2.1 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.1.2 Uninstalling pip-22.1.2: Successfully uninstalled pip-22.1.2 Successfully installed pip-22.1.2 C:\Users\Personal\Downloads>
-
Next, just execute the ‘pip’ tool in order to test it by typing ‘pip’ in the command prompt as exist below :
C:\Users\Personal\Downloads>pip Usage: pip <command> [options] Commands: install Install packages. download Download packages. uninstall Uninstall packages. freeze Output installed packages in requirements format. list List installed packages. show Show information about installed packages. check Verify installed packages have compatible dependencies. config Manage local and global configuration. search Search PyPI for packages. cache Inspect and manage pip's wheel cache. index Inspect information available from package indexes. wheel Build wheels from your requirements. hash Compute hashes of package archives. completion A helper command used for command completion. debug Show information useful for debugging. help Show help for commands. General Options: -h, --help Show help. --debug Let unhandled exceptions propagate outside the main subroutine, instead of logging them to stderr. --isolated Run pip in an isolated mode, ignoring environment variables and user configuration. --require-virtualenv Allow pip to only run in a virtual environment; exit with an error otherwise. -v, --verbose Give more output. Option is additive, and can be used up to 3 times. -V, --version Show version and exit. -q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels). --log <path> Path to a verbose appending log. --no-input Disable prompting for input. --proxy <proxy> Specify a proxy in the form scheme://[user:passwd@]proxy.server:port. --retries <retries> Maximum number of retries each connection should attempt (default 5 times). --timeout <sec> Set the socket timeout (default 15 seconds). --exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort. --trusted-host <hostname> Mark this host or host:port pair as trusted, even though it does not have valid or any HTTPS. --cert <path> Path to PEM-encoded CA certificate bundle. If provided, overrides the default. See 'SSL Certificate Verification' in pip documentation for more information. --client-cert <path> Path to SSL client certificate, a single file containing the private key and the certificate in PEM format. --cache-dir <dir> Store the cache data in <dir>. --no-cache-dir Disable the cache. --disable-pip-version-check Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index. --no-color Suppress colored output. --no-python-version-warning Silence deprecation warnings for upcoming unsupported Pythons. --use-feature <feature> Enable new functionality, that may be backward incompatible. --use-deprecated <feature> Enable deprecated functionality, that will be removed in the future. C:\Users\Personal\Downloads>
Last but not least, just execute the following command to check the version of the ‘pip’ tool :
C:\Users\Personal\Downloads>pip -V pip 22.1.2 from C:\Program Files\Inkscape\lib\python3.9\site-packages\pip (python 3.9) C:\Users\Personal\Downloads>
3 thoughts on “How to Install pip in Microsoft Windows 11”