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 Bio/SeqIO.pm in @INC #13

Open
gpmoran opened this issue Jul 14, 2021 · 2 comments
Open

Can't locate Bio/SeqIO.pm in @INC #13

gpmoran opened this issue Jul 14, 2021 · 2 comments

Comments

@gpmoran
Copy link

gpmoran commented Jul 14, 2021

So I have installed phame and the dependencies separately in a new environment and installed phame by cloning the github version, as recommended in another thread.
When I run the TestAll.sh I get an error that it can't locate Bio/SeqIO.pm in @inc. I think this should have been installed with bioPerl so I am not sure why it cannot locate it?

(my_env) Garys-MacBook-Pro:PhaME garymoran$ test/TestAll.sh 1
Can't locate Bio/SeqIO.pm in @inc (you may need to install the Bio::SeqIO module) (@inc contains: /Users/garymoran/PhaME/src/../ext/lib/perl5 /Users/garymoran/PhaME/src/../lib /Users/garymoran/PhaME/src /Users/garymoran/miniconda2/envs/my_env/lib/site_perl/5.26.2/darwin-thread-multi-2level /Users/garymoran/miniconda2/envs/my_env/lib/site_perl/5.26.2 /Users/garymoran/miniconda2/envs/my_env/lib/5.26.2/darwin-thread-multi-2level /Users/garymoran/miniconda2/envs/my_env/lib/5.26.2 .) at src/phame line 16.
BEGIN failed--compilation aborted at src/phame line 16.

Thanks for any suggested solutions!

@drish91
Copy link

drish91 commented Jul 28, 2021

I was running into a similar issue and updating the PERL5LIB env path with the perl5 libs under the phame_env installation path fixed this. This should add the necessary perl libraries in your @inc.

export PERL5LIB="/path/for/anaconda3/envs/phame_new/lib/perl5/site_perl/5.22.0"

@gpmoran
Copy link
Author

gpmoran commented Aug 5, 2021

Thank you, this has solved the issue for me!

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

No branches or pull requests

2 participants