bdd 启动 data processing进程报错 Can't locate LWP.pm in @INC

bdd 启动 data processing进程报错 Can't locate LWP.pm in @INC

Can't locate LWP.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.

安装CPAN的方法 yum -y install perl-CPAN
解决方法:

1.3. Installing LWP

LWP and the associated modules areavailablein various distributions free from the Comprehensive Perl ArchiveNetwork (CPAN). The main distributionsare listed at the start of Appendix A, "LWP Modules", although thedetails of which modules are in which distributions changeoccasionally.

If you're using ActivePerl forWindows or MacPerlfor Mac OS 9, you already have LWP. If you're onUnix and you don't already have LWP installed,you'll need to install it from CPAN usinginstructions given in the next section.

To test whether you already have LWP installed:

% perl -MLWP -le "print(LWP->VERSION)"

(The second character in -le is a lowercase L, nota digit one.)

If you see:

Can't locate LWP in @INC (@INC contains: ...lots of paths...).
BEGIN failed--compilation aborted.

or if you see a version number lower than 5.64, you need to installLWP on your system.

There are two ways to install modules: using the CPAN shell or theold-fashioned manual way.

1.3.1. Installing LWP from the CPAN Shell

The CPAN shell is a command-line environment<

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值