bioperl-live icon indicating copy to clipboard operation
bioperl-live copied to clipboard

Build failure until I used cpanm --force, on Mac OS X Catalina

Open afbent opened this issue 4 years ago • 1 comments

Not sure if this is a bug in Bio::Perl as much as place where instructions for installation should be improved. Perl was working fine on my MacBook Pro but, although the first stages of installing BioPerl seemed successful, it never worked, I kept getting the following error: Can't locate Bio/Perl.pm in @INC (you may need to install the Bio::Perl module)

My installation attempts were done with the command: sudo cpanm Bio::Perl Many suggested solutions and a few hours of noodling around, for example “export PERL5LIB=pathname”, did not work. There was never a Bio folder with Perl.pm inside of it. BioPerl finally worked only after I forced things by running the following command: sudo cpanm --force Bio::Perl

(thanks to https://stackoverflow.com/questions/52468476/issues-installing-perl-module-bioperl for the --force suggestion)

I am working on a MacBook Pro running the relatively newOSX Catalina version 10.15.3, and I was calling on a newly installed BioPerl v.1.7.7 while running a program called Delta BitScore (https://github.com/Gardner-BinfLab/deltaBS/wiki). Delta BitScore worked beautifully, but only after I included “--force” during the cpanm installation of BioPerl.

It would be great if you could alter documentation so that other people don’t have to beat their head against this type of BioPerl installation issue.

afbent avatar Feb 24 '20 04:02 afbent

Also meet the following error: Can't locate Bio/Perl.pm in @inc (you may need to install the Bio::Perl module) and also find no Perl.pm in Bio directory. cpan> force install Bio::Perl fix the problem.

wuyudelan avatar Dec 19 '23 07:12 wuyudelan