Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't locate Moo.pm in @INC #81

Closed
sharbie88 opened this issue Jul 28, 2019 · 1 comment
Closed

can't locate Moo.pm in @INC #81

sharbie88 opened this issue Jul 28, 2019 · 1 comment
Assignees
Labels

Comments

@sharbie88
Copy link

I'm using Ubuntu 18.04 and I've just tried to put a couple of my .fasta files through your MLST module, which I've used many times over the past year and I get a new message:

Can't locate Moo.pm in @inc (you may need to install the Moo module) (@inc contains: /home/sharb/miniconda3/bin/../perl5 /home/sharb/anaconda3/lib/site_perl/5.26.2/x86_64-linux-thread-multi /home/sharb/anaconda3/lib/site_perl/5.26.2 /home/sharb/anaconda3/lib/5.26.2/x86_64-linux-thread-multi /home/sharb/anaconda3/lib/5.26.2 .) at /home/sharb/miniconda3/bin/../perl5/MLST/PubMLST.pm line 3.
BEGIN failed--compilation aborted at /home/sharb/miniconda3/bin/../perl5/MLST/PubMLST.pm line 3.
Compilation failed in require at /home/sharb/miniconda3/bin/mlst line 9.
BEGIN failed--compilation aborted at /home/sharb/miniconda3/bin/mlst line 9.

I used your Debian install (sudo apt-get install libmoo-perl liblist-moreutils-perl libjson-perl), which returned:

liblist-moreutils-perl is already the newest version (0.416-1build3).
libmoo-perl is already the newest version (2.003004-1).
libjson-perl is already the newest version (2.97001-1).

The error message above is still repeated when I try to use mlst (with and without nominating the --scheme saureus).

(....please explain your follow-up instructions at a v. basic level. Thanks.)

@tseemann
Copy link
Owner

The problem is that the Perl you are using to run mlst is not the perl that comes with Debian, so it can't find the Debian Perl modules. You seem to be using miniconda on your system, so it is using the Perl from miniconda. Please use the Bioconda install instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants