In this section, we are going to learn how to upgrade pip using conda package manager. Note, if your Anaconda Python distribution is in the system path, we could also have updated pip by opening the Windows Command Prompt and using the same commands as above. That was it, now we know how to upgrade pip without using pip! It was easy. In the next section, you will learn how to do the same procedure but using the package manager conda. That was it, now you should have upgraded pip to the latest version. In this example, we are going to upgrade pip using pip: pip install -upgrade pip Code language: Bash ( bash ) Now, that we the command prompt up and running we are ready to update pip. Obviously, if you are using linux you don’t have to right-click on the terminal window: just open it up and go to step 3). If we now type pip -version again we will see that we have the latest version of pip installed: To upgrade pip, we open up the command prompt and type the following code: pip install -upgrade pip Code language: Bash ( bash ) Now, we are going to answer the question “ how to update Python pip?” and we are going to start by using pip to update pip. Note, later in this post a step-by-step guide will show how to open Windows Command prompt. In the Python environment, we have pip 19.2.3 installed.
0 Comments
Leave a Reply. |