如何更新像jupyter&这样的ipython中的软件包间谍 [英] How to update the packages in ipython like jupyter & spyder

查看:107
本文介绍了如何更新像jupyter&这样的ipython中的软件包间谍的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了这个!pip install seaborn来安装seaborn的更新版本,然后系统显示警告

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

然后我写了这个pip install --upgrade pip试图更新点,它显示

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

代替在ipython中运行它,我应该在哪里运行此代码?我怎样才能像jupyter一样在ipython中更新软件包?

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

推荐答案

您只是忘记了将!放在pip install --upgrade pip之前.

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

执行此操作:!pip install --upgrade pip

如果您使用的是conda,请参见此以获取更多信息:

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

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

这篇关于如何更新像jupyter&这样的ipython中的软件包间谍的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆