linux 无法在google-collab上安装某个模块

e5nszbig  于 2023-03-07  发布在  Linux
关注(0)|答案(1)|浏览(103)

我尝试在Google-Colab上安装该模块-但它不起作用

!cpan install CPAN::Authors
    • 输出**:
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/root/.cpan/Metadata'
  Database was generated on Mon, 06 Mar 2023 12:41:02 GMT
>(error): Could not expand [CPAN::Authors]. Check the module name.
>(info): I can suggest names if you install one of Text::Levenshtein::XS, Text::Levenshtein::Damerau::XS, Text::Levenshtein, and Text::Levenshtein::Damerau::PP
>(info): and you provide the -x option on invocation.
>(error): Skipping CPAN::Authors because I couldn't find a matching namespace.

但它确实存在参见https://metacpan.org/pod/Parse::CPAN::Authors::Author
好吧,看起来我不能加载模块-但它仍然存在,是什么原因导致这根本不起作用!?

kiayqfof

kiayqfof1#

您链接到Parse::CPAN::Authors::Author,但您尝试安装CPAN::Authors。
用途

cpan Parse::CPAN::Authors::Author

(Note也没有install这个词。)

相关问题