无法找到PDL / Graphics / Simple.pm

时间:2014-07-13 04:46:25

标签: perl ubuntu-12.04 pdl

我是新手使用PDL并在Ubuntu下安装后(在英特尔®酷睿™i7-3630QM CPU上运行12.04 LTS @ 2.40GHz×8作为Windows 8.1双启动)

我尝试了First Steps with PDL上给出的第一个示例,但收到有关PDL::Graphics::Simple的错误消息,如下所示。我猜它可能很简单?

$ pdl
perlDL shell v1.357
...
Loaded PDL v2.007
Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)
pdl> use PDL::Graphics::Simple

但收到错误消息:

Can't locate PDL/Graphics/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 70) line 5.
BEGIN failed--compilation aborted

1 个答案:

答案 0 :(得分:3)

PDL::Graphics::Simple与主PDL库分开。只需使用cpan或您的操作系统软件包管理器安装它,您就应该好了。