How to update the packages in ipython like jupyter & spyder

13,840

You just forgot put the ! before pip install --upgrade pip.

Do this: !pip install --upgrade pip

See this for more information, if you are using conda:

https://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/

Share:
13,840
kyle chan
Author by

kyle chan

Updated on June 26, 2022

Comments

  • kyle chan
    kyle chan almost 2 years

    I wrote this !pip install seaborn to install the updated version of seaborn, then the system shows a warning that enter image description here

    then I wrote this pip install --upgrade pip trying to update the pip, it shows that enter image description here

    Instead of running it in ipython, where should i run this code? How could I update package in ipython like jupyter?