python - conda 更新 anaconda 失败 |破坏错误

标签 python ubuntu terminal anaconda

我正在尝试更新所有 conda 包。

尝试运行这些命令

conda update anaconda

conda update --all

但是在大​​多数包上确认后出现这个错误。

如何解决和更新所有包?

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 clean --all
conda update --all

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

关于python - conda 更新 anaconda 失败 |破坏错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51217876/

相关文章:

macos - 使用终端查找文件夹内的文本

python - 如何使用 Pyro 代理对象作为工厂?

python - 部署在pythonanywhere上的django项目链接静态文件出错

ubuntu - 在 ubuntu 上安装 Docker

php - Imagick 未在 PHP 中加载

css - compass 监听器错误

ubuntu - 关闭ubuntu终端的vi功能

python - Python 中的数字分组/聚类以及数字之间的相对关系

python - Bokeh 自动填充日期时间轴缺失值 : how to stop it?

mysql 无法启动 Ubuntu 16.04.2 x64