Quickly Solve PIP Is Not Recognized Error !

A few propel attempting to install the Python packages utilizing the Command Prompt report experiencing the pip is not recognized error. The majority of affected people report that the problem happens even after installing Python distribution and making certain that the Python is appended to the path variable. The problem isn’t specific to a certain operating system since it is reported on Win 7, Win 8 and Win 10.

What Are The Reasons Of The PIP Is Not Recognized Error?

We have investigated this problem by looking at different reports and attempting to replicate the problem on our systems. From what we collected, there’re numerous scenarios that are recognized to trigger this particular issue:

  • The installation is wrongly appended in the PATH: It is simple to mess up your PATH if you append it manually. Extra space or the missing of a semicolon before your new PATH will finish up producing the issue.
  • PIP installation isn’t appended to the system variable: For being capable of running the Python commands from command prompt, you’ll have to append the path of the pip installation to the PATH in system variable. If you installed the Python utilizing the executable installation, it ought to be appended automatically.

If you are currently attempting to fix this issue that prevents you from utilizing Python command in command prompt, follow the solutions mentioned here. All the potential solutions below are established to be helping. For the best results, follow these fixes in order until you locate the one that assists you to fix the problem in the particular scenario.

Solution#1: Add The PIP To Your PATH Environment Variable Utilizing The Command Prompt

A quicker method to set up the pip path environment variable is to do so directly using command prompt. It’ll save some time, but it can be a bit more intimidating if you are not used to utilizing the terminal. Here is a quick and simple guide on setting the pip path environment straight from a CMD window:

  • Hit Win + R button for opening up the Run dialog box > enter cmd > hit Enter for opening it.

cmd

  • In the CMD window, run the setx PATH “%PATH%;C:\Python37\Scripts” command for setting the installation of pip to the environment variable.

path

Note: Remember that in such command, we utilized the default location for the Python 3.7. If you are utilizing a diverse Python version or you have installed it some other custom location, change that path after ‘;‘ accordingly.

  • See if this solution was successful by simply running the installation package of Python (one that utilizes PIP) from the same command prompt window. If you are still facing the pip is not recognized error, move on to the next solution.

Solution#2: Open The Python Package Without Appending The PIP Variable

If you are searching for a way for installing the Python package from command prompt without appending pip to your PATH environment variable, you can make use of a couple of diverse commands for installing it. It also helps if you utilized the solution above for configuring the environment PATH variable but you are still facing this pip is not recognized issue.

  • Hit Win + R buttons for opening up the Run dialog box > enter cmd > hit Enter for opening a CMD Window.

PIP Is Not Recognized

  • Enter the python -m pip install [packagename] commands and make certain to change the placeholder for the package name you have.

package

Note: Change the [packagename] with the package name you are attempting to install on your system.

Solution#3: Ensure That The PIP Is Included In The Python Installation

Now, let’s check whether pip was not lost from the installation of Python. Certain Python installers will abscond it out of its default installation. Fortunately, you can correct it by simply modifying the installation of Python and modifying it for installing pip. Here is a quick and simple guide on how you can do so:

  • Hit Win + R buttons for opening the Run dialog box > enter appwiz.cpl > hit Enter for opening the Programs & Features.

appwiz

  • Inside the new window, simply right-click the Python installation > choose Change.

change

  • Now, at the screen of Modify Setup , hit the Modify option.

modify setup

  • Net, in the screen for Optional Features, tick the checkbox associated with the PIP > choose Next.

pip

  • Press Install for making all the changes to your Python installation.

install

  • Once your Python installation is successfully modified, open the command prompt and check if you are capable of installing the Python package with pip without experiencing the pip is not recognized problem.

That’ all about it! If the solutions mentioned above do not work for you then you can also go for installing the entire Python environment for resolving this error.

Leave a Reply

Your email address will not be published.