使用cpanm安装软件包会出现错误,version = HASH(...)不是有效版本

时间:2014-09-09 18:57:13

标签: perl install cpan cpanm

http://www.cpan.org/modules/INSTALL.html之后我安装了cpan App :: cpanminus,但结果功能不存在。

cpanm Data::Printer

输出

--> Working on Data::Printer
Fetching http://www.cpan.org/authors/id/G/GA/GARU/Data-Printer-0.35.tar.gz ... OK
Configuring Data-Printer-0.35 ... OK
Failed to clean-up 2 metadata. Errors:
'version=HASH(0x9860408)' for 'Clone::PP' is not a valid version. (prereqs -> runtime ->          requires -> Clone::PP) [Validation: 2]
'version=HASH(0x9860a8c)' for 'Scalar::Util' is not a valid version. (prereqs -> runtime -> requires -> Scalar::Util) [Validation: 2]
'version=HASH(0x9860d14)' for 'Term::ANSIColor' is not a valid version. (prereqs -> runtime -> requires -> Term::ANSIColor) [Validation: 2]
'version=HASH(0x9860bc4)' for 'File::HomeDir' is not a valid version. (prereqs -> runtime -> requires -> File::HomeDir) [Validation: 2]

然后列表继续。

我不确定是什么问题。

0 个答案:

没有答案