chrisbra / wikipedia2text

A commandline tool for querying the Wikipedia
Other
32 stars 4 forks source link

Can't locate URI/Escape.pm in @INC #9

Open largocreatura opened 2 years ago

largocreatura commented 2 years ago

Hi, I get the following error:

Can't locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /home/linuxbrew/.linuxbrew/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/x86_64-linux-thread-multi /home/linuxbrew/.linuxbrew/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0 /home/linuxbrew/.linuxbrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/x86_64-linux-thread-multi /home/linuxbrew/.linuxbrew/Cellar/perl/5.34.0/lib/perl5/5.34.0 /home/linuxbrew/.linuxbrew/lib/perl5/site_perl/5.34.0/x86_64-linux-thread-multi /home/linuxbrew/.linuxbrew/lib/perl5/site_perl/5.34.0) at -e line 1. BEGIN failed--compilation aborted at -e line 1.

could you give me a clue where to investigate the error? thanks!

chrisbra commented 2 years ago

you need to install the perl package URI::Escape. I think for debian based systems this should be sudo apt install liburi-perl Not sure what this is for linuxbrew. try to search for uri escape perl

largocreatura commented 2 years ago

Great! I've followed the steps mentioned here and it's working. Thank you!

$ cpan URI
$ cpan Term::ReadKey