How to update the packages in ipython like jupyter & spyder

廉价感情. 提交于 2021-02-10 12:25:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!