ERROR conda.core.link:_execute(699): An error occurred while installing package ‘‘Rolling back trans

Problem description

CONDA install the package error: ERROR conda.core.link:_execute(699): An error occurred while installing package ‘conda-forge::cudatoolkit-11.1.1-h6406543_8’. Rolling back transaction: done [Errno 12] Cannot allocate memory ()
similar errors will also be encountered during PIP installation: SystemError: deallocated bytearray object has exported buffers

 

Solution:

Clean up CONDA cache

conda clean -a

Read More: