首页 > 解决方案 > “CondaVerificationError:找不到路径'.../iTerm.app'。” 创建 conda 环境时

问题描述

我正在运行 Mac OS X 10.14.1 (18B75)、Python 3.7.0 和 conda 4.5.11。我尝试创建一个新环境:

conda create -n cv-final python pip

它要求安装新软件包,我按“y”继续,但随后出现错误:

Preparing transaction: done
Verifying transaction: failed

CondaVerificationError: The package for ncurses located at /Users/johan/anaconda3/pkgs/ncurses-6.1-h0a44026_0
appears to be corrupted. The path 'share/terminfo/69/iTerm.app'
specified in the package manifest cannot be found.

CondaVerificationError: The package for ncurses located at /Users/johan/anaconda3/pkgs/ncurses-6.1-h0a44026_0
appears to be corrupted. The path 'share/terminfo/69/iTerm2.app'
specified in the package manifest cannot be found.

我已经按照这里conda clean --packages --tarballs的建议尝试过,但没有运气。

跑步

conda env create cv-final

确实创建了一个新的空环境,但尝试安装软件包

conda install -n cv-final python pip

仍然会得到相同的错误。

标签: pythonanacondaconda

解决方案


推荐阅读