问题描述
conda安装package时遇到的错误: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 ()
类似的错误在pip安装时也会遇到:SystemError: deallocated bytearray object has exported buffers
解决方法
清理conda缓存
conda clean -a