3
我已经安装了anaconda,并附带了它自己的Jupyter版本,因此我想卸载使用pip3安装的Jupyter。我搜索指令,并使用pip3 uninstall Jupyter
尝试过,但似乎正确不,因为我得到了下面,它说是Jupyter 1.0.0:如何卸载与pip3一起安装的Jupyter笔记本
Uninstalling jupyter-1.0.0:
/usr/local/lib/python3.6/site-packages/__pycache__/jupyter.cpython-36.pyc
/usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/DESCRIPTION.rst
/usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/INSTALLER
/usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/METADATA
/usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/RECORD
/usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/WHEEL
/usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/metadata.json
/usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/pbr.json
/usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/top_level.txt
/usr/local/lib/python3.6/site-packages/jupyter.py
我知道我也可以尝试pip3 uninstall notebook
,但显示了一堆我不确定的文件实际上是Jupyter。
这看起来像这样一个简单的问题,但我已经搜索,并没有找到明确的答案。谢谢!
我也发现使用'pip freeze | grep jupyter'和'pip3 freeze | grep jupyter'有助于查找要卸载的软件包名称。 – Harry