随着Python的广告在朋友圈越来越多,jupyter notebook也水涨船高,逐渐成为Python的常用IDE(之一)。
但是,当你的第三方库更新安装重复,或者几个包之间相互影响等种种原因,需要卸载第三方库的时候,可能就需要看一下这篇博客了。
在其他IDE里 输入
pip uninstall xxx
(xxx换成需要卸载的包)运行之后系统会提示
Proceed (y/n)?
之后输入y就可以卸载了
但是问题是在jupyter notebook找不到在哪里继续输入啊!!(欢迎在评论区指正)
所以如果你真的确定一定以及肯定要卸载这个包,
那么只要输入
pip uninstall xxx -y
(xxx换成需要卸载的包)就可以轻轻松松卸载掉啦。
当然也可以直接去
/Users/XX/opt/anaconda3/lib/python3.7/site-packages/XXX
找到想卸载的包直接删除,一劳永逸(Mac版本)
上次
jupyter
notebook
出现问题了,一直弄不好。
首先说一下我最初的解决方法:
卸载
jupyter
-重装
jupyter
,然后输入
jupyter
notebook
,一直提示 ‘
jupyter
’ 不是有效命令。
最后才知道,是因为 通过 使用pip uninstall
jupyter
是卸不掉
jupyter
的
需要使用下面两条命令
卸载
jupyter
pip install pip-autoremove
pip-autoremove
jupyter
-y
注意:pip-auto
pip uninstall
jupyter
_core -y
pip uninstall
jupyter
-client -y
pip uninstall
jupyter
-console -y
pip uninstall
notebook
-y
pip uninstall qtconsole -y
pip uninstall nbconvert -y
pip uninstall nbformat -y
不过好像也可以直接
pip uninstall
jupyter
,notebo
在使用 pip uninstall
jupyter
或 conda uninstall
jupyter
后,经常会发现
jupyter
notebook
仍未被完全
卸载
,原因是pip在uninstall
jupyter
时只
卸载
了
jupyter
的部分包。
完全
卸载
jupyter
notebook
可采用:
pip install pip-autoremove
pip-auto remove jupy...
pip uninstall
jupyter
_core -y
pip uninstall
jupyter
-client -y
pip uninstall
jupyter
-console -y
pip uninstall
notebook
-y
pip uninstall qtconso...
文章目录前言一、
Jupyter
Notebook
的安装和
卸载
1.
卸载
2.安装二、
jupyter
Notebook
的简单使用说明
Jupyter
Notebook
大抵是学习深度学习、机器学习或者
python
的第一步吧,因为大部分教程都是
Jupyter
Notebook
文件。我一开始只是会简单的应用,更多方面的细节是后面学习中慢慢接触到的,因此想要把它完整的综合到一起,也是对
Jupyter
的回...
windows删除
jupyter
notebook
没办法的办法pip uninstall
jupyter
-ypip uninstall
jupyter
_core -ypip uninstall
jupyter
-client -ypip uninstall
jupyter
-console -ypip uninstall
notebook
-ypip uninstall qtconsole -yp...