cannot install a certain module on google-collab

414 Views Asked by At

i try to install the module on the Google-Colab - but it does not work

!cpan install CPAN::Authors

Output:

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.

but it of course exists: see https://metacpan.org/pod/Parse::CPAN::Authors::Author

well it looks like i cannot load the module - but it still exists what is the cause that this does not work at all!?

1

There are 1 best solutions below

0
ikegami On

You linked to Parse::CPAN::Authors::Author, but you tried installing CPAN::Authors.

Use

cpan Parse::CPAN::Authors::Author

(Note that lack of the word install, as well.)