Search code examples
pythonpowershellpipjupyter-notebookupgrade

Can't install Jupyter Notebook using Windows PowerShell because pip won't upgrade to version 20.1


enter image description here I'm following this video to install Jupyter Notebook using Windows PowerShell. I entered the scripts folder and type .\pip install jupyter, and then it suggested uploading pip to version 20.1 first. Well, I typed python -m pip install --upgrade pip as suggested, but nothing happened. If I tried to install Jupyter Notebook again, it would just start a circle once again.

Things I have tried but don't work:

  1. .\pip3 install jupyter as some other thread online says
  2. doing all these in the Python folder (one level up)
  3. python -m pip install -U pip, as suggested by the official webpage of installing pip
  4. add Path to Windows as instructed by this blog

Why does this happen? Isn't what I get when installing Python 3.8 the lastest version of pip? How can I actually upload it to version 20.1 now?

BTW, this is what my Scripts directory looks like now: enter image description here


enter image description here


Solution

  • After you change the Path variable and before you start python -m pip install -U pip you have to start a new shell.

    It's because the Path you setup is not taken dynamicaly.