Python conda更新anaconda失败| ClobberError

Python conda更新anaconda失败| ClobberError,python,ubuntu,terminal,anaconda,Python,Ubuntu,Terminal,Anaconda,我正在尝试更新所有康达软件包 尝试运行这些命令 巨蟒更新巨蟒 康达更新——全部 但在大多数软件包上确认后会出现此错误 如何解决和更新所有包 ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpyth

我正在尝试更新所有康达软件包

尝试运行这些命令

巨蟒更新巨蟒

康达更新——全部

但在大多数软件包上确认后会出现此错误

如何解决和更新所有包

ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-36.pyc'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/connection.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/request.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/response.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/retry.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/selectors.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/ssl_.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/timeout.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/url.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: The package 'defaults::pip-10.0.1-py36_0' cannot be installed due to a
path collision for 'lib/python3.6/site-packages/pip/_vendor/urllib3/util/wait.py'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.

如果需要更新所有包,则命令为:

conda update --all
为我工作。
我需要多次运行update命令来更新所有包。

您是否运行过
pip
命令?我已更新了所有pip包,在更新后,当我尝试更新时,我收到了相同的错误。是的,您不应该在conda内使用
pip
来更新
pip
。您应该使用conda更新所有内容。恐怕您可能需要卸载pip,可能还需要卸载urllib3,然后用conda重新安装。事实上,在收到conda错误后,我确实更新了
pip
。最初,我在更新时没有收到错误,在更新后收到这些错误时,我的连接多次断开。收到这些错误后,我更新了pip。是否有任何方法可以使用anacondaCan清除损坏的软件包,您尝试删除pip并重新安装?
conda clean --all
conda update --all