conda创建新的env报错CondaVerificationError
错误详情
bash
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: failed
CondaVerificationError: The package for _openmp_mutex located at /home/work/miniconda3/pkgs/_openmp_mutex-5.1-1_gnu
appears to be corrupted. The path 'lib/libgomp.so.1'
specified in the package manifest cannot be found.
解决方案
- 删掉报错的文件夹
bash
rm -r /home/work/miniconda3/pkgs/_openmp_mutex-5.1-1_gnu
- 删掉刚才创建的env(虽然没成功,但是目录已经存在了)
bash
rm -r /home/work/miniconda3/envs/swift