[英]Strawberry perl, Can't locate App/Cpan.pm
I installed the 32 bit version of Strawberry perl(5.14.2.1). 我安装了32位版本的Strawberry Perl(5.14.2.1)。 I am able to run the perl command.
我能够运行perl命令。 When ever I run the
cpan
command I get the following error: 每当我运行
cpan
命令时,都会出现以下错误:
Can't locate App/Cpan.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/msys /usr/
lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/site_perl/5.8
.8 /usr/lib/perl5/site_perl .) at /c/strawberry/perl/bin/cpan line 5.
BEGIN failed--compilation aborted at /c/strawberry/perl/bin/cpan line 5.
I migrated from the 64 bit version to the 32 bit version. 我从64位版本迁移到了32位版本。 The
cpan
command used to work when I was using the 64 bit version. 当我使用64位版本时,
cpan
命令曾经可以工作。
"/usr/lib/perl5/5.8.8/msys"? “ /usr/lib/perl5/5.8.8/msys”? You aren't running Strawberry Perl!
您没有在运行Strawberry Perl! The
cpan
file you are running was installed by another Perl. 您正在运行的
cpan
文件是由另一个Perl安装的。 Try 尝试
C:\>c:\strawberry\perl\bin\perl -MCPAN -e shell
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.