# Install version issue - Metaphlan4

**URL:** <https://forum.biobakery.org/t/install-version-issue-metaphlan4/4070>\
**Category:** MetaPhlAn\
**Created:** [September 12, 2022, 8:46pm UTC](https://forum.biobakery.org/t/install-version-issue-metaphlan4/4070 "2022-09-12T20:46:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fsaravia](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/fsaravia/32/716_2.png) [@fsaravia](https://forum.biobakery.org/u/fsaravia)\
**Post date:** [September 12, 2022, 8:46pm UTC](https://forum.biobakery.org/t/install-version-issue-metaphlan4/4070/1 "2022-09-12T20:46:09Z")

</div>

I followed conda installation instructions ([MetaPhlAn 4 · biobakery/MetaPhlAn Wiki · GitHub](https://github.com/biobakery/MetaPhlAn/wiki/MetaPhlAn-4)) to install metaphlan4 but when i check the version it appears to be v3.

I have tried to follow other discussions to fix the issue and have not had any luck.

- [Metaphlan 4 install issue](https://forum.biobakery.org/t/metaphlan-4-install-issue/3998)
- [How to install Metaphlan4?](https://forum.biobakery.org/t/how-to-install-metaphlan4/3992)

$ metaphlan --version  
MetaPhlAn version 3.0.7 (09 Dec 2020)

Any input would be appreciated.

---

<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:** [September 16, 2022, 8:09am UTC](https://forum.biobakery.org/t/install-version-issue-metaphlan4/4070/2 "2022-09-16T08:09:42Z")

</div>

Hi @fsaravia  
You can try to force the installation of the new version by running:  
`conda install -c bioconda metaphlan=4.0.1`

---

<div class="post-metadata">

**Author:** ![fsaravia](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/fsaravia/32/716_2.png) [@fsaravia](https://forum.biobakery.org/u/fsaravia)\
**Post date:** [September 21, 2022, 4:22pm UTC](https://forum.biobakery.org/t/install-version-issue-metaphlan4/4070/3 "2022-09-21T16:22:56Z")

</div>

Hi @aitor.blancomiguez

Unfortunately the force install doesn’t work. Here is my issue:

(metaphlan4) fatimas@alustt129 PROD$ metaphlan --version  
MetaPhlAn version 3.0.7 (09 Dec 2020)

(metaphlan4) fatimas@alustt129 PROD$ conda install -c bioconda metaphlan=4.0.1  
Collecting package metadata: done  
Solving environment: done  
==\> WARNING: A newer version of conda exists. \<==  
current version: 4.6.14  
latest version: 4.14.0  
Please update conda by running  
$ conda update -n base -c defaults conda

## Package Plan

environment location: /home/fatimas/.conda/envs/metaphlan4  
added / updated specs:  
- metaphlan=4.0.1  
The following packages will be downloaded:  
package | build  
---------------------------|-----------------  
ca-certificates-2022.9.14 | ha878542\_0 152 KB conda-forge

```
certifi-2022.9.14 | pyhd8ed1ab_0 156 KB conda-forge
------------------------------------------------------------
                                     Total: 308 KB

```

The following packages will be UPDATED:  
ca-certificates pkgs/main::ca-certificates-2022.07.19~ → conda-forge::ca-certificates-2022.9.14-ha878542\_0  
certifi 2022.6.15.1-pyhd8ed1ab\_0 → 2022.9.14-pyhd8ed1ab\_0

Proceed ([y]/n)? y

Downloading and Extracting Packages  
ca-certificates-2022 | 152 KB | ####################################################################################################################################### | 100%

certifi-2022.9.14 | 156 KB | ####################################################################################################################################### | 100%

Preparing transaction: done  
Verifying transaction: done  
Executing transaction: done

(metaphlan4) fatimas@alustt129 PROD$ metaphlan --version

MetaPhlAn version 3.0.7 (09 Dec 2020)

---

<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:** [September 23, 2022, 9:34am UTC](https://forum.biobakery.org/t/install-version-issue-metaphlan4/4070/4 "2022-09-23T09:34:19Z")

</div>

That is really odd, maybe try to add the `--upgrade` flag to the command ?
