Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

conda update anaconda Fails | ClobberError

I am trying to update all conda packages.

Tried running these command

conda update anaconda

conda update --all

But getting this error after confirming on most of the packages.

How to solve and update all the packages ?

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.
like image 966
Shan Khan Avatar asked Jul 06 '18 21:07

Shan Khan


1 Answers

conda clean --all
conda update --all

Worked for me. I needed to run update command multiple times to update all packages.

like image 123
Shan Khan Avatar answered Oct 17 '22 12:10

Shan Khan