This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to install MetaPhlAn3?

Hello

I tried to install MetaPhlAn3 in the conda environment of WSL. However, the results are as shown in the image below.

enter image description here

What is the problem, and how can I solve it? I want to install MetaPhlAn3.

Please help me. Thank you!

metaphlan3

Please do not paste screenshots of plain text content, it is counterproductive. You can copy paste the content directly here (using the code formatting option shown below), or use a GitHub Gist if the content volume exceeds allowed length here.

code_formatting

1 answer

You seem to have conflicts with existing packages. This happens when you install many packages into the base environment. Conda suggests to make separate environments so that this doesn't happen - I personally have little to nothing installed in my base environment.

Create an environment named metaphlan that contains metaphlan:

conda create -n metaphlan -c bioconda metaphlan

conda activate metaphlan

should do the trick.

(I'd also suggest updating your conda in general, you have a bunch of warnings that an update will get rid of: conda update conda)

Thank you for your answer. But, there is an error as shown in the below image. enter image description here

How can I solve it?

Please copy/paste error messages (10101 button to format them as code after highlighting parts that you show in shot above) instead of pasting screenshots.

Now that is a strange error. Killed usually means that you ran out of memory. That normally doesn't happen... I'd suggest updating conda first (or perhaps a clean install of conda?)

Log in to answer this question.