# \[installation failure\]

**URL:** <https://forum.biobakery.org/t/installation-failure/4715>\
**Category:** MetaPhlAn\
**Created:** [January 26, 2023, 3:48pm UTC](https://forum.biobakery.org/t/installation-failure/4715 "2023-01-26T15:48:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sasakitomiyano](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/sasakitomiyano/32/1916_2.png) [@sasakitomiyano](https://forum.biobakery.org/u/sasakitomiyano)\
**Post date:** [January 26, 2023, 3:48pm UTC](https://forum.biobakery.org/t/installation-failure/4715/1 "2023-01-26T15:48:27Z")

</div>

I need help. I have already created a separate environment and installed python 3.7. However, this problem keeps occurring.

(mpa) C:\Users\me\>conda install -c conda-forge -c bioconda metaphlan  
Collecting package metadata (current\_repodata.json): done  
Solving environment: failed with initial frozen solve. Retrying with flexible solve.  
Solving environment: failed with repodata from current\_repodata.json, will retry with next repodata source.  
Collecting package metadata (repodata.json): done  
Solving environment: failed with initial frozen solve. Retrying with flexible solve.  
Solving environment: -  
Found conflicts! Looking for incompatible packages.  
This can take several minutes. Press CTRL-C to abort.  
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package → Available version

I don’t even know which of the the packages are causing the error.

---

<div class="post-metadata">

**Author:** ![aitor.blancomiguez](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/aitor.blancomiguez/32/86_2.png) [@aitor.blancomiguez](https://forum.biobakery.org/u/aitor.blancomiguez)\
**Post date:** [January 31, 2023, 9:00am UTC](https://forum.biobakery.org/t/installation-failure/4715/2 "2023-01-31T09:00:19Z")

</div>

Hi @sasakitomiyano  
It seems you have a package incompatibility issue with your conda installation.  
When this problem happens, creating the environment already specifying all the packages necessary can help. E.g.  
`conda create -n metaphlan4 -c conda-forge -c bioconda python=3.7 metaphlan`

---

<div class="post-metadata">

**Author:** ![sasakitomiyano](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/sasakitomiyano/32/1916_2.png) [@sasakitomiyano](https://forum.biobakery.org/u/sasakitomiyano)\
**Post date:** [January 31, 2023, 4:43pm UTC](https://forum.biobakery.org/t/installation-failure/4715/3 "2023-01-31T16:43:48Z")

</div>

Hello!

I appreciate the help but I’ve still encountered problems even though I’ve taken your suggestion into account.

(base) me@LAPTOP-NGD:~$ conda create -n metaphlan4 -c conda-forge -c bioconda python=3.7 metaphlan  
Collecting package metadata (current\_repodata.json): done  
Solving environment: failed with repodata from current\_repodata.json, will retry with next repodata source.  
Collecting package metadata (repodata.json): done  
Solving environment: - Killed

I’ve been using ubuntu (installed using WSL) if it helps.

Thank you.

---

<div class="post-metadata">

**Author:** ![aitor.blancomiguez](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/aitor.blancomiguez/32/86_2.png) [@aitor.blancomiguez](https://forum.biobakery.org/u/aitor.blancomiguez)\
**Post date:** [February 1, 2023, 8:39am UTC](https://forum.biobakery.org/t/installation-failure/4715/4 "2023-02-01T08:39:38Z")

</div>

Hi @sasakitomiyano  
It seems during the resolving of the installation, your conda is taking so long resolving the environment that a timeout kills the installation. I am not sure why this is happening, I can only suggest you to reinstall conda from scratch and try on a clean installation

---

<div class="post-metadata">

**Author:** ![AstrobioMike](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/astrobiomike/32/1637_2.png) [@AstrobioMike](https://forum.biobakery.org/u/AstrobioMike)\
**Post date:** [February 1, 2023, 10:38pm UTC](https://forum.biobakery.org/t/installation-failure/4715/5 "2023-02-01T22:38:29Z")

</div>

Heya @sasakitomiyano,

[mamba](https://github.com/mamba-org/mamba#mamba) is a drop-in replacement for conda that is virtually always much faster and more likely to succeed at things installs

I’d try this in the base conda environment:

```auto
conda install -n base -c conda-forge mamba

```

then the environment creation with mamba like so:

```auto
mamba create -y -n metaphlan -c conda-forge -c bioconda -c defaults python=3.7 metaphlan

```

This works for me in less than a minute on both mac and ubuntu that i just tested

then you’d still activate and deactivate with conda

```auto
conda activate metaphlan

conda deactivate

```

hopefully that helps, i put mamba on immediately on any system i use conda 👍
