Can't create new environments, with CondaVerificationError: The package for ncurses is corrupted
Can't create new environments, with CondaVerificationError: The package for ncurses is corrupted
我在尝试创建新环境时遇到此错误。浏览器
conda create -n jupyter python=3.6 -y
Preparing transaction: done
Verifying transaction: failed
CondaVerificationError: The package for ncurses located at /Users/yaroslavvb/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/yaroslavvb/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 4.5.11)
conda update -n base conda
conda update conda
conda install -f conda
conda install -f ncurses -y
conda update ncurses
conda uninstall ncurses -y
我定期使用 ITerms,我怀疑 iterm 会自动更新并破坏了一些路径
看起来 ncurses 包刚刚坏了 (6.1-h0a44026_0),当前版本似乎可以工作
我也 运行 遇到了与您今天类似的问题。这是我的解决方案:
因为它显示在这个包中找不到东西,我们不能使用 conda uninstall ncurses
命令卸载 ncurses
,我只是手动删除了这个包:
(你的情况应该是这样的)
rm -r /Users/yaroslavvb/anaconda3/pkgs/ncurses-6.1-h0a44026_0
然后我们可以安装 ncurses
并指定它的版本和我们刚刚删除的构建:
conda install ncurses=6.1=h0a44026_0
顺便说一句,我的错误信息指向/path/to/miniconda2/pkgs/ncurses-6.1-hf484d3e_1002
,所以我只是删除了这个文件夹,然后用稍微修改的命令重新安装它。
我在尝试创建新环境时遇到此错误。浏览器
conda create -n jupyter python=3.6 -y
Preparing transaction: done
Verifying transaction: failed
CondaVerificationError: The package for ncurses located at /Users/yaroslavvb/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/yaroslavvb/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 4.5.11)
conda update -n base conda
conda update conda
conda install -f conda
conda install -f ncurses -y
conda update ncurses
conda uninstall ncurses -y
我定期使用 ITerms,我怀疑 iterm 会自动更新并破坏了一些路径
看起来 ncurses 包刚刚坏了 (6.1-h0a44026_0),当前版本似乎可以工作
我也 运行 遇到了与您今天类似的问题。这是我的解决方案:
因为它显示在这个包中找不到东西,我们不能使用 conda uninstall ncurses
命令卸载 ncurses
,我只是手动删除了这个包:
(你的情况应该是这样的)
rm -r /Users/yaroslavvb/anaconda3/pkgs/ncurses-6.1-h0a44026_0
然后我们可以安装 ncurses
并指定它的版本和我们刚刚删除的构建:
conda install ncurses=6.1=h0a44026_0
顺便说一句,我的错误信息指向/path/to/miniconda2/pkgs/ncurses-6.1-hf484d3e_1002
,所以我只是删除了这个文件夹,然后用稍微修改的命令重新安装它。