perlwindows-subsystem-for-linuxbioperl

Unable to install Bio::SeqIO module on Ubuntu for Windows 10 from Microsoft Store


I used Ubuntu 18.04 LTS for Windows from Microsoft store and tried to install BioPerl module Bio::SeqIO with cpanm Bio::SeqIO. Perl version is v5.26.1. It seems that module installation failed:

! Installing the dependencies failed: Module 'XML::Twig' is not installed, Module 'XML::LibXNL::Reader' is not installed, Module 'XML::LibXML' is not installed, Module 'XML::Parser::PerlSAX' is not installed, Module 'XML::DOM::XPath' is not installed, Module 'XML::DOM' is not installed
! Bailing out the installation for BioPerl-1.7.7
58 distributions installed

If i run a script with line use Bio::SeqIO; I get an error:

    Can't locate Bio/SeqIO.pm in @INC (you may need to install the 
        Bio::SeqIO module) (@INC contains: ...

I am not sure how to proceed. I could try to install dependencies that failed with cpanm but I do not know if it is a proper way.


Solution

  • I tried this on my Windows 10 laptop:

    This worked for me.