小编X. *_*ang的帖子

Conda SafetyError:文件大小不正确

使用 创建 Conda 环境时conda create -n env_name python=3.6,我收到以下警告。

Preparing transaction: done
Verifying transaction: \ 
SafetyError: The package for python located at /anaconda3/pkgs/python-3.6.8-haf84260_0
appears to be corrupted. The path 'lib/python3.6/distutils/unixccompiler.py'
has an incorrect size.
  reported size: 14583 bytes
  actual size: 14902 bytes

done
Executing transaction: done
Run Code Online (Sandbox Code Playgroud)

正如错误消息所述,只有 Python 3.6.8 文件损坏,使用conda create -n env_name python=3.6.3.

问题:

  • 我没有接触过这个编译器文件。这种腐败的典型原因是什么?

  • 如何在不重新安装 Conda 的情况下修复此损坏?

python anaconda

6
推荐指数
1
解决办法
1782
查看次数

标签 统计

anaconda ×1

python ×1