【发布时间】:2023-03-03 19:02:01
【问题描述】:
不小心弄到了
pip install --upgrade ipykernel
但我后来发现我应该只是
conda update ipykernel
现在我有两个 jupyter_core、setuptools、requests 等。如何卸载我通过 pip 安装的冗余包。我试过了
pip uninstall ipykernel
得到了
DEPRECATION: Uninstalling a distutils installed project (ipykernel) has been deprecated and will be removed in a future version.
This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling ipykernel-4.6.1:
/Users/jan/anaconda/lib/python2.7/site-packages/ipykernel-4.6.1-py2.7.egg-info
Proceed (y/n)? n
如果不卸载 Anaconda 中的 ipykernel,我应该如何撤消 install pip ipykernel? 或 pip uninstall ipykernel?
【问题讨论】:
-
卸载它们,然后在 conda 中重新安装。
标签: python pip jupyter-notebook jupyter