{"id":5924,"date":"2025-10-28T09:28:03","date_gmt":"2025-10-28T07:28:03","guid":{"rendered":"https:\/\/avenacloud.com\/blog\/?p=5924"},"modified":"2026-10-31T17:14:12","modified_gmt":"2026-10-31T15:14:12","slug":"how-to-install-pip-on-windows","status":"publish","type":"post","link":"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/","title":{"rendered":"How to Install PIP on Windows 10 and 11 (Complete Guide)"},"content":{"rendered":"<p>If you&#8217;ve ever felt the frustration of wanting to install a Python package and not knowing where to begin, this guide is for you. How to install pip on windows is one of those small but crucial tasks that unlocks a huge amount of productivity. Read on and you\u2019ll have pip working in minutes, with clear steps, screenshots (conceptually), and fixes for the errors that usually derail beginners.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Quick Summary<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Why_pip_matters_and_when_you_need_it\" >Why pip matters and when you need it<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Quick_checklist_before_you_begin\" >Quick checklist before you begin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Understand_the_scenario_Do_you_already_have_pip\" >Understand the scenario: Do you already have pip?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Check_pip_from_the_Command_Prompt\" >Check pip from the Command Prompt<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Check_pip_for_specific_Python_interpreters\" >Check pip for specific Python interpreters<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#How_to_install_pip_on_windows_The_recommended_path_via_Python_installer\" >How to install pip on windows: The recommended path (via Python installer)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Step-by-step_Install_pip_with_the_Python_installer\" >Step-by-step: Install pip with the Python installer<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#How_to_install_pip_on_windows_Using_get-pippy_manual_download\" >How to install pip on windows: Using get-pip.py (manual download)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Step-by-step_get-pippy\" >Step-by-step: get-pip.py<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Safety_note\" >Safety note<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Add_pip_to_PATH_Why_it_matters_and_how_to_fix_it\" >Add pip to PATH: Why it matters and how to fix it<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Find_the_Scripts_directory\" >Find the Scripts directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Manually_add_Scripts_to_PATH\" >Manually add Scripts to PATH<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#How_to_install_pip_on_windows_for_multiple_Python_versions\" >How to install pip on windows for multiple Python versions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Using_the_py_launcher\" >Using the py launcher<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#pip_vs_pip3_vs_python_-m_pip\" >pip vs pip3 vs python -m pip<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#How_to_install_pip_on_windows_Post-install_steps_upgrade_configure\" >How to install pip on windows: Post-install steps (upgrade, configure)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Using_pip_effectively_common_commands_and_examples\" >Using pip effectively: common commands and examples<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Troubleshooting_common_errors_and_fixes\" >Troubleshooting: common errors and fixes<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Error_%E2%80%98pip_is_not_recognized_as_an_internal_or_external_command\" >Error: &#8216;pip&#8217; is not recognized as an internal or external command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Error_Permission_denied_or_access_blocked\" >Error: Permission denied or access blocked<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Error_SSLTLS_or_certificate_verification_failures\" >Error: SSL\/TLS or certificate verification failures<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Error_Incompatible_package_wheels_or_build_failures\" >Error: Incompatible package wheels or build failures<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#How_to_install_pip_on_windows_inside_virtual_environments\" >How to install pip on windows inside virtual environments<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Create_and_use_a_venv\" >Create and use a venv<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Advanced_options_offline_installation_and_custom_indices\" >Advanced options: offline installation and custom indices<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Offline_installation_of_pip\" >Offline installation of pip<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Using_private_package_indexes\" >Using private package indexes<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#How_to_install_pip_on_windows_for_developers_and_CI_systems\" >How to install pip on windows for developers and CI systems<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Scripting_pip_installation\" >Scripting pip installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Continuous_Integration_tips\" >Continuous Integration tips<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Security_and_best_practices_when_using_pip\" >Security and best practices when using pip<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Compare_methods_Which_way_to_install_pip_is_right_for_you\" >Compare methods: Which way to install pip is right for you?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Common_FAQs_about_how_to_install_pip_on_windows\" >Common FAQs about how to install pip on windows<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Do_I_need_admin_rights_to_install_pip\" >Do I need admin rights to install pip?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Can_I_install_pip_without_internet\" >Can I install pip without internet?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-37\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Is_pip_the_same_on_Windows_as_macOS_or_Linux\" >Is pip the same on Windows as macOS or Linux?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-38\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#What_if_pip_installs_the_wrong_Python_version\" >What if pip installs the wrong Python version?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-39\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Step-by-step_quick_reference_How_to_install_pip_on_windows_cheat_sheet\" >Step-by-step quick reference: How to install pip on windows (cheat sheet)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-40\" href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Why_pip_matters_and_when_you_need_it\"><\/span>Why pip matters and when you need it<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>pip is the standard package manager for Python. Knowing how to install pip on windows means you can download libraries, share code, and run modern Python projects with minimal friction. When projects request dependencies in a requirements.txt file or when you want to try a new library, pip is the bridge between your idea and running code.<\/p>\n<ul>\n<li>Install third-party libraries: requests, numpy, Flask, Django.<\/li>\n<li>Manage versions easily and reproducibly.<\/li>\n<li>Work with virtual environments and keep systems clean.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Quick_checklist_before_you_begin\"><\/span>Quick checklist before you begin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before we walk through how to install pip on windows, gather these essentials:<\/p>\n<ul>\n<li>A Windows machine (Windows 10 or later recommended).<\/li>\n<li>Administrator access or permission to install software.<\/li>\n<li>Python installed, or willingness to install Python if missing.<\/li>\n<li>Internet access to download installers or files.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Understand_the_scenario_Do_you_already_have_pip\"><\/span>Understand the scenario: Do you already have pip?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, check if pip is already available. Many modern Python installers include pip by default. It\u2019s faster to check than to reinstall.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Check_pip_from_the_Command_Prompt\"><\/span>Check pip from the Command Prompt<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Open Command Prompt or PowerShell and run:<\/p>\n<pre>pip --version<\/pre>\n<p>If you see an output like &#8220;pip X.Y.Z from &#8230;&#8221;, pip is installed. If you see &#8220;pip is not recognized&#8221;, follow the steps below on how to install pip on windows.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Check_pip_for_specific_Python_interpreters\"><\/span>Check pip for specific Python interpreters<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you have multiple Python versions, check pip tied to each version:<\/p>\n<pre>python -m pip --version\npython3 -m pip --version\npy -m pip --version<\/pre>\n<p>Using python -m pip or py -m pip is often safer, because it ensures pip runs with the Python you expect.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_install_pip_on_windows_The_recommended_path_via_Python_installer\"><\/span>How to install pip on windows: The recommended path (via Python installer)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you don\u2019t have pip, the easiest, safest route is to install or repair Python using the official installer. That installer puts pip in place automatically when you choose the right options.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step-by-step_Install_pip_with_the_Python_installer\"><\/span>Step-by-step: Install pip with the Python installer<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Download the Windows installer from the official Python site: <a href=\"https:\/\/python.org\/downloads\" target=\"_blank\" rel=\"noopener\">Python<\/a><\/li>\n<li>Run the installer. On the first screen, check the box &#8220;Add Python X.X to PATH&#8221;.<\/li>\n<li>Choose &#8220;Install Now&#8221; or &#8220;Customize installation&#8221;.<\/li>\n<li>If customizing, on Optional Features ensure &#8220;pip&#8221; is checked.<\/li>\n<li>Complete the install and open a new Command Prompt to confirm:\n<pre>pip --version<\/pre>\n<\/li>\n<\/ol>\n<table>\n<tbody>\n<tr>\n<th>Installer Option<\/th>\n<th>Effect<\/th>\n<\/tr>\n<tr>\n<td>Add to PATH<\/td>\n<td>Makes python and pip available from any Command Prompt without extra configuration<\/td>\n<\/tr>\n<tr>\n<td>Install pip<\/td>\n<td>Installs pip for the associated Python interpreter<\/td>\n<\/tr>\n<tr>\n<td>Customize &gt; Install for all users<\/td>\n<td>Installs to Program Files and requires admin; useful for shared machines<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This method is the one I recommend to most users learning how to install pip on windows. It avoids manual downloads and ensures pip pairs with the right Python version.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_install_pip_on_windows_Using_get-pippy_manual_download\"><\/span>How to install pip on windows: Using get-pip.py (manual download)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you need to add pip to an existing Python installation and the installer route is not an option, use get-pip.py. It\u2019s a one-file bootstrap maintained by the Python packaging authority.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step-by-step_get-pippy\"><\/span>Step-by-step: get-pip.py<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Open your browser and download get-pip.py from the official source: https:\/\/bootstrap.pypa.io\/get-pip.py.<\/li>\n<li>Save the file to a folder you can find, for example Downloads.<\/li>\n<li>Open Command Prompt and navigate to that folder:\n<pre>cd %USERPROFILE%Downloads<\/pre>\n<\/li>\n<li>Run the script with your Python interpreter:\n<pre>python get-pip.py<\/pre>\n<\/li>\n<li>After it finishes, verify:\n<pre>pip --version<\/pre>\n<\/li>\n<\/ol>\n<p>If you have multiple Python installations, run the script with the exact interpreter you want to equip, for example:<\/p>\n<pre>py -3.9 get-pip.py<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Safety_note\"><\/span>Safety note<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Only download get-pip.py from official, secure sources. Inspect the file if you are in a high-security environment before executing it.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Add_pip_to_PATH_Why_it_matters_and_how_to_fix_it\"><\/span>Add pip to PATH: Why it matters and how to fix it<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Even after installation, <a href=\"https:\/\/avenacloud.com\/vps\/windows\/\">Windows<\/a> might not find pip because the PATH environment variable doesn\u2019t include the Scripts directory where pip lives. Learn how to fix that quickly.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Find_the_Scripts_directory\"><\/span>Find the Scripts directory<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The usual locations:<\/p>\n<ul>\n<li>%LOCALAPPDATA%ProgramsPythonPythonXYScripts<\/li>\n<li>C:UsersYourNameAppDataLocalProgramsPythonPythonXYScripts<\/li>\n<li>C:Program FilesPythonXYScripts (when installed for all users)<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Manually_add_Scripts_to_PATH\"><\/span>Manually add Scripts to PATH<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Open Start and search &#8220;Environment Variables&#8221;. Choose &#8220;Edit the system environment variables&#8221;.<\/li>\n<li>Click &#8220;Environment Variables&#8230;&#8221;. Under &#8220;User variables&#8221; or &#8220;System variables&#8221; find and edit &#8220;Path&#8221;.<\/li>\n<li>Click New and paste the Scripts folder path.<\/li>\n<li>Open a new Command Prompt and test:\n<pre>pip --version<\/pre>\n<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"How_to_install_pip_on_windows_for_multiple_Python_versions\"><\/span>How to install pip on windows for multiple Python versions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5927 aligncenter\" title=\"How to install pip on windows. How to install pip on windows for multiple Python versions\" src=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/10\/9cc8fa2c2f07331e7bd68edd95ca65ac.jpg\" alt=\"How to install pip on windows. How to install pip on windows for multiple Python versions\" width=\"1024\" height=\"768\" srcset=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/10\/9cc8fa2c2f07331e7bd68edd95ca65ac.jpg 1024w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/10\/9cc8fa2c2f07331e7bd68edd95ca65ac-300x225.jpg 300w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/10\/9cc8fa2c2f07331e7bd68edd95ca65ac-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Developers frequently run Python 2.x and 3.x or multiple 3.x installs. You can maintain pip for each interpreter.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Using_the_py_launcher\"><\/span>Using the py launcher<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The py launcher is a handy Windows tool that lets you target versions easily:<\/p>\n<pre>py -3 -m pip install package\npy -2 -m pip install package<\/pre>\n<p>When installing pip itself via get-pip.py, call<\/p>\n<pre>py -3.8 get-pip.py<\/pre>\n<p>to install pip for Python 3.8 specifically.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"pip_vs_pip3_vs_python_-m_pip\"><\/span>pip vs pip3 vs python -m pip<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<th>Command<\/th>\n<th>When to use<\/th>\n<\/tr>\n<tr>\n<td>pip<\/td>\n<td>Works if PATH points to the desired Python&#8217;s Scripts folder<\/td>\n<\/tr>\n<tr>\n<td>pip3<\/td>\n<td>Convenient on systems with pip mapped to Python 2; less common on Windows<\/td>\n<\/tr>\n<tr>\n<td>python -m pip<\/td>\n<td>Most reliable: runs pip for the interpreter named &#8220;python&#8221;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span class=\"ez-toc-section\" id=\"How_to_install_pip_on_windows_Post-install_steps_upgrade_configure\"><\/span>How to install pip on windows: Post-install steps (upgrade, configure)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After installation, upgrade pip and set a couple of useful preferences.<\/p>\n<ul>\n<li>Upgrade pip:\n<pre>python -m pip install --upgrade pip<\/pre>\n<\/li>\n<li>Configure trusted hosts or indexes for private repos if necessary.<\/li>\n<li>Install wheel and setuptools for smoother installs:\n<pre>python -m pip install --upgrade setuptools wheel<\/pre>\n<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Using_pip_effectively_common_commands_and_examples\"><\/span>Using pip effectively: common commands and examples<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Knowing how to install pip on windows is only half the battle \u2014 you also need to use pip. These commands will get you productive immediately.<\/p>\n<ul>\n<li>Install a package:\n<pre>pip install requests<\/pre>\n<\/li>\n<li>Install a specific version:\n<pre>pip install Django==3.2.18<\/pre>\n<\/li>\n<li>Install from requirements:\n<pre>pip install -r requirements.txt<\/pre>\n<\/li>\n<li>List installed packages:\n<pre>pip list<\/pre>\n<\/li>\n<li>Show package details:\n<pre>pip show package-name<\/pre>\n<\/li>\n<li>Uninstall a package:\n<pre>pip uninstall package-name<\/pre>\n<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Troubleshooting_common_errors_and_fixes\"><\/span>Troubleshooting: common errors and fixes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Even with clear steps on how to install pip on windows, problems happen. Here are the errors I see most often and how to fix them fast.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Error_%E2%80%98pip_is_not_recognized_as_an_internal_or_external_command\"><\/span>Error: &#8216;pip&#8217; is not recognized as an internal or external command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Cause: PATH doesn\u2019t include the Scripts folder.<\/p>\n<ol>\n<li>Locate the folder where pip.exe is installed (see earlier section).<\/li>\n<li>Add that folder to PATH.<\/li>\n<li>Open a new Command Prompt and retry.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Error_Permission_denied_or_access_blocked\"><\/span>Error: Permission denied or access blocked<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Cause: Installing to Program Files or writing to system folders requires admin rights.<\/p>\n<ul>\n<li>Run Command Prompt as Administrator and retry: right-click &gt; Run as administrator.<\/li>\n<li>Or install for the current user only:\n<pre>python -m pip install --user package-name<\/pre>\n<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Error_SSLTLS_or_certificate_verification_failures\"><\/span>Error: SSL\/TLS or certificate verification failures<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Cause: Corporate firewalls, proxy servers, or outdated OpenSSL build in Python.<\/p>\n<ol>\n<li>Try using a trusted host:\n<pre>pip --trusted-host pypi.org install package-name<\/pre>\n<\/li>\n<li>Configure proxy settings:\n<pre>pip --proxy=http:\/\/user:pass@proxyserver:port install package-name<\/pre>\n<\/li>\n<li>Upgrade to a modern Python build if TLS support is missing.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Error_Incompatible_package_wheels_or_build_failures\"><\/span>Error: Incompatible package wheels or build failures<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Cause: Missing build tools for packages that need compilation (C extensions).<\/p>\n<ul>\n<li>Install prebuilt wheels when possible.<\/li>\n<li>Install the &#8220;Build Tools for Visual Studio&#8221; for compiling on Windows.<\/li>\n<li>Use wsl (Windows Subsystem for Linux) for some complicated builds.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"How_to_install_pip_on_windows_inside_virtual_environments\"><\/span>How to install pip on windows inside virtual environments<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Using virtual environments keeps projects isolated. The good news: virtualenvs created with venv will include pip automatically.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Create_and_use_a_venv\"><\/span>Create and use a venv<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Create:\n<pre>python -m venv myenv<\/pre>\n<\/li>\n<li>Activate (PowerShell):\n<pre>.myenvScriptsActivate.ps1<\/pre>\n<\/li>\n<li>Activate (cmd):\n<pre>.myenvScriptsactivate.bat<\/pre>\n<\/li>\n<li>Confirm pip inside venv:\n<pre>pip --version<\/pre>\n<\/li>\n<\/ol>\n<p>Because a venv contains its own Scripts folder, the pip inside a virtual environment is naturally isolated and safe to use for project-specific installs.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Advanced_options_offline_installation_and_custom_indices\"><\/span>Advanced options: offline installation and custom indices<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Sometimes you need to install pip or packages without direct internet access.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Offline_installation_of_pip\"><\/span>Offline installation of pip<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Download get-pip.py on a machine with internet.<\/li>\n<li>Transfer it to the offline machine and run:\n<pre>python get-pip.py --no-index --find-links path_to_wheel_dir<\/pre>\n<\/li>\n<li>Alternatively, download pip wheel and install with\n<pre>python -m pip install pip-x.y.z.whl<\/pre>\n<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Using_private_package_indexes\"><\/span>Using private package indexes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To install packages from private repositories, set the index-url:<\/p>\n<pre>pip install --index-url https:\/\/my.private.repo\/simple\/ package-name<\/pre>\n<p>For persistent configuration, use a pip.conf or pip.ini file in the appropriate location.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_install_pip_on_windows_for_developers_and_CI_systems\"><\/span>How to install pip on windows for developers and CI systems<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you manage development machines or continuous integration agents, scripting the setup saves time and avoids errors.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Scripting_pip_installation\"><\/span>Scripting pip installation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Install Python silently:\n<pre>python-3.x.x.exe \/quiet InstallAllUsers=1 PrependPath=1 Include_pip=1<\/pre>\n<\/li>\n<li>Or download get-pip.py and run:\n<pre>py -3 get-pip.py<\/pre>\n<\/li>\n<li>Verify with a scripted check:\n<pre>py -3 -m pip --version || exit 1<\/pre>\n<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Continuous_Integration_tips\"><\/span>Continuous Integration tips<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Use virtual environments per build to avoid cache conflicts.<\/li>\n<li>Pin pip and setuptools versions to ensure consistent installs.<\/li>\n<li>Cache the pip download directory between builds to speed up installs.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Security_and_best_practices_when_using_pip\"><\/span>Security and best practices when using pip<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Using pip safely is as important as knowing how to install pip on windows. Package-management mistakes can lead to dependency confusion or worse.<\/p>\n<ul>\n<li>Prefer packages from the official PyPI repository unless you trust a private source.<\/li>\n<li>Audit dependencies for security vulnerabilities using tools like pip-audit.<\/li>\n<li>Use virtual environments to avoid polluting system Python.<\/li>\n<li>Pin exact versions when deploying or sharing requirements files.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Compare_methods_Which_way_to_install_pip_is_right_for_you\"><\/span>Compare methods: Which way to install pip is right for you?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5928 aligncenter\" title=\"How to install pip on windows. Compare methods: Which way to install pip is right for you?\" src=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/10\/6467762d405520f25bd3de66a4b9acd3.jpg\" alt=\"How to install pip on windows. Compare methods: Which way to install pip is right for you?\" width=\"1024\" height=\"768\" srcset=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/10\/6467762d405520f25bd3de66a4b9acd3.jpg 1024w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/10\/6467762d405520f25bd3de66a4b9acd3-300x225.jpg 300w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/10\/6467762d405520f25bd3de66a4b9acd3-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<table>\n<tbody>\n<tr>\n<th>Method<\/th>\n<th>Pros<\/th>\n<th>Cons<\/th>\n<\/tr>\n<tr>\n<td>Python installer<\/td>\n<td>Official, simple, ensures pip and PATH options<\/td>\n<td>Requires re-running installer for existing installs<\/td>\n<\/tr>\n<tr>\n<td>get-pip.py<\/td>\n<td>Fast, works with existing Python<\/td>\n<td>Manual download; must ensure source is trusted<\/td>\n<\/tr>\n<tr>\n<td>Package managers (chocolatey)<\/td>\n<td>Scriptable, great for provisioning<\/td>\n<td>Depends on package manager availability and trust<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span class=\"ez-toc-section\" id=\"Common_FAQs_about_how_to_install_pip_on_windows\"><\/span>Common FAQs about how to install pip on windows<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Do_I_need_admin_rights_to_install_pip\"><\/span>Do I need admin rights to install pip?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Not always. You can install pip for a single user using<\/p>\n<pre>python get-pip.py --user<\/pre>\n<p>or use<\/p>\n<pre>python -m pip install --user package<\/pre>\n<p>. For system-wide installs you\u2019ll need admin rights.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Can_I_install_pip_without_internet\"><\/span>Can I install pip without internet?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Yes. Transfer get-pip.py or wheel files to the offline machine and install from local files. Use<\/p>\n<pre>pip install --no-index --find-links<\/pre>\n<p>for package installs.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Is_pip_the_same_on_Windows_as_macOS_or_Linux\"><\/span>Is pip the same on Windows as macOS or Linux?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Functionally yes \u2014 pip installs Python packages across platforms. Path differences and binary wheel availability can cause platform-specific issues.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_if_pip_installs_the_wrong_Python_version\"><\/span>What if pip installs the wrong Python version?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Use versioned commands or module invocation to ensure the right interpreter:<\/p>\n<pre>py -3.9 -m pip install package<\/pre>\n<p>or<\/p>\n<pre>python -m pip install package<\/pre>\n<p>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-by-step_quick_reference_How_to_install_pip_on_windows_cheat_sheet\"><\/span>Step-by-step quick reference: How to install pip on windows (cheat sheet)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>Check current status:\n<pre>pip --version<\/pre>\n<\/li>\n<li>If missing, install Python and enable &#8220;Install pip&#8221; and &#8220;Add to PATH&#8221;.<\/li>\n<li>Or download get-pip.py and run:\n<pre>python get-pip.py<\/pre>\n<\/li>\n<li>Add Scripts directory to PATH if required.<\/li>\n<li>Upgrade pip:\n<pre>python -m pip install --upgrade pip<\/pre>\n<\/li>\n<li>Test package install:\n<pre>pip install requests<\/pre>\n<\/li>\n<\/ol>\n<p>Keywords: How to install pip on windows, {key}<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Knowing how to install pip on windows removes a frequent roadblock and opens Python\u2019s rich ecosystem. Whether you use the Python installer, get-pip.py, or script the setup for many machines, the steps are straightforward: confirm Python, install pip, ensure PATH is correct, and test with a simple package. If you run into errors, the fixes above are the exact ones that unblock most users. Now it\u2019s your turn \u2014 try installing pip, create a small virtual environment, and install a package. If you get stuck, revisit the troubleshooting section or run the commands shown here. Ready to build something? Start by installing a package you\u2019ve been curious about and see how quickly pip transforms an idea into a working script.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve ever felt the frustration of wanting to install a Python package and not knowing where to begin, this guide is for you. How to install pip on windows is one of those small but crucial tasks that unlocks&#8230; <\/p>\n","protected":false},"author":1,"featured_media":5926,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[771],"tags":[794,567,1189,1192,370],"class_list":["post-5924","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-faq","tag-cloud-computing","tag-system-administration","tag-tech-solutions","tag-tech-tips","tag-vps-hosting"],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/posts\/5924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/comments?post=5924"}],"version-history":[{"count":6,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/posts\/5924\/revisions"}],"predecessor-version":[{"id":7387,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/posts\/5924\/revisions\/7387"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/media\/5926"}],"wp:attachment":[{"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/media?parent=5924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/categories?post=5924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/tags?post=5924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}