Post

conda 创建环境报错

conda 创建环境报错

基本配置

环境:

  • Windows11 23H2
  • miniconda3 24.9.2-0

问题复现:

使用 conda create -n yolov5 python=3.8 创建环境时, 报错如下:

1
2
3
4
5
6
7
8
9
10
11
12
Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: failed

CondaVerificationError: The package for python located at D:\Environment\Scoop\apps\miniconda3\current\pkgs\python-3.8.20-h8205438_0
appears to be corrupted. The path 'tcl/tix8.4.3/ChkList.tcl'
specified in the package manifest cannot be found.

CondaVerificationError: The package for python located at D:\Environment\Scoop\apps\miniconda3\current\pkgs\python-3.8.20-h8205438_0
appears to be corrupted. The path 'tcl/tix8.4.3/demos/samples/ChkList.tcl'
specified in the package manifest cannot be found.

解决方案

直接将损坏的包删除即可,上面可以将 D:\Environment\Scoop\apps\miniconda3\current\pkgs\python-3.8.20-h8205438_0 直接将删除,问题解决

This post is licensed under CC BY 4.0 by the author.