问题
I wrote this !pip install seaborn
to install the updated version of seaborn, then the system shows a warning that
then I wrote this pip install --upgrade pip
trying to update the pip, it shows that
Instead of running it in ipython, where should i run this code? How could I update package in ipython like jupyter?
回答1:
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/
来源:https://stackoverflow.com/questions/56226523/how-to-update-the-packages-in-ipython-like-jupyter-spyder