我正在尝试更新所有 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/