简体   繁体   中英

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

在此处输入图像描述 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: 在此处输入图像描述


在此处输入图像描述

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM