当我安装Cro :: HTTP :: Client
zef install Cro::HTTP::Client
它以Could not find Crypt::Random::Extra
失败,这与缓存有关吗?
===> Searching for: Cro::HTTP::Client
===> Testing: Cro::HTTP:ver<0.8.0>
===> Testing [OK] for Cro::HTTP:ver<0.8.0>
===> Installing: Cro::HTTP:ver<0.8.0>
===> Install [FAIL] for Cro::HTTP:ver<0.8.0>: ===SORRY!===
Could not find Crypt::Random::Extra at line 1 in:
inst#/Applications/Rakudo/share/perl6/site
inst#/Applications/Rakudo/share/perl6/vendor
inst#/Applications/Rakudo/share/perl6
ap#
nqp#
perl5#
===SORRY!===
Could not find Crypt::Random::Extra at line 1 in:
inst#/Applications/Rakudo/share/perl6/site
inst#/Applications/Rakudo/share/perl6/vendor
inst#/Applications/Rakudo/share/perl6
ap#
nqp#
perl5#
如果是缓存问题,我会徘徊,因此我删除了~/.zef/
和~/.perl6/resource
,但是仍然无法安装该模块。
最后,我重新安装了Rakudo Star,它运行良好。
我的perl6版本:
perl6 -v
This is Rakudo Star version 2019.03.1 built on MoarVM version 2019.03
implementing Perl 6.d.
我的操作系统版本:
Mac Mojave 10.14.4
答案 0 :(得分:2)
如果您说的是在重新安装Rakudo Star时已修复,则可能是由于以前的安装有问题。您提到的模块或其元数据似乎根本没有任何问题,实际上确实如此,因为您似乎已经正确安装了它。 (按照我最初的建议)可能会更好(卸载该失败的模块并重新安装),但是如果它对您有用,那就可以了
经过编辑,考虑到该问题似乎已经解决的事实