ClobberError while installing virtual environment for conda

Viewed 10009

I used the command the below command to create a virtual environment for conda with all required bindings in the .yml file.

conda env create -f virtual_platform_linux.yml But I am getting this error:

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libgcc-ng-7.2.0-hdf63c60_3 path: 'lib/libgcc_s.so'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libgcc-ng-7.2.0-hdf63c60_3 path: 'lib/libgcc_s.so.1'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libgcc-ng-7.2.0-hdf63c60_3 path: 'lib/libgomp.so'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libgcc-ng-7.2.0-hdf63c60_3 path: 'lib/libgomp.so.1'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libgcc-ng-7.2.0-hdf63c60_3 path: 'lib/libgomp.so.1.0.0'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libgcc-ng-7.2.0-hdf63c60_3 path: 'lib/libquadmath.so'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libgcc-ng-7.2.0-hdf63c60_3 path: 'lib/libquadmath.so.0'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libgcc-ng-7.2.0-hdf63c60_3 path: 'lib/libquadmath.so.0.0.0'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libstdcxx-ng-7.2.0-hdf63c60_3 path: 'lib/libstdc++.so'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::libgcc-4.8.5-2, conda-forge::libstdcxx-ng-7.2.0-hdf63c60_3 path: 'lib/libstdc++.so.6'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::python-3.5.4-0, conda-forge::pytables-3.3.0-np111py35_0 path: 'lib/python3.5/pycache/future.cpython-35.pyc'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::python-3.5.4-0, conda-forge::mpmath-0.19-py35_1, conda-forge::pytables-3.3.0-np111py35_0 path: 'lib/python3.5/pycache/_bootlocale.cpython-35.pyc'

ClobberError: This transaction has incompatible packages due to a shared path. packages: conda-forge::python-3.5.4-0, conda-forge::mpmath-0.19-py35_1, conda-forge::pytables-3.3.0-np111py35_0 path: 'lib/python3.5/pycache/_collections_abc.cpython-35.pyc'

2 Answers

Removing 'defaults' from the channels list in my .condarc file resolved this issue for me.

My .condarc file contained the following originally and I simply removed '-defaults' so that I only had conda-forge in my cnannels :

ssl_verify: true 
channels:
   - conda-forge
   - defaults
Related