Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ClobberError while installing virtual environment for conda

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'

like image 926
Aditya Rakhecha Avatar asked Sep 14 '18 17:09

Aditya Rakhecha


People also ask

Can I install conda in a virtual environment?

When you create a new virtual environment, you can install Python libraries using both conda or pip. Most of the time there is no difference in installing them with conda or pip.

How do I update conda virtual environment?

Once you have created a conda environment, you can update it anytime by first activating the environment and then running the conda env update command.


1 Answers

Try doing conda clean --all before running this command. I got this from this Github discussion.

like image 92
Sabito 錆兎 stands with Ukraine Avatar answered Sep 23 '22 11:09

Sabito 錆兎 stands with Ukraine