如何更新像jupyter&这样的ipython中的软件包间谍 [英] How to update the packages in ipython like jupyter & spyder
问题描述
我写了这个!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屋!