# FYI: Found error in metaphlan db installation

**URL:** <https://forum.biobakery.org/t/fyi-found-error-in-metaphlan-db-installation/2852>\
**Category:** MetaPhlAn\
**Created:** [November 29, 2021, 11:58pm UTC](https://forum.biobakery.org/t/fyi-found-error-in-metaphlan-db-installation/2852 "2021-11-29T23:58:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cb-scott](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/cb-scott/32/1136_2.png) [@cb-scott](https://forum.biobakery.org/u/cb-scott)\
**Post date:** [November 29, 2021, 11:58pm UTC](https://forum.biobakery.org/t/fyi-found-error-in-metaphlan-db-installation/2852/1 "2021-11-29T23:58:23Z")

</div>

Hi!

I am downloading Metaphlan3 for the first time. I installed the software using conda. When installing the database (metaphlan --install), I bumped into a python key error:

File “/work2/06909/cbscott/stampede2/software/anaconda3/lib/python3.7/site-packages/metaphlan/metaphlan.py”, line 463, in download\_unpack\_tar  
url\_tar\_file = ls\_f[“mpa\_” + download\_file\_name + “.tar”]  
KeyError: **'mpa\_mpa\_v30\_CHOCOPhlAn\_201901.tar’**

Basically, I think there’s a typo between the current python script used to download the database and the current online database. I went in and edited the script metaphlan.py to remove the extra “mpa\_” strings in all of the download names and it fixed the issue.

More of an FYI than anything else! Was frustrating to nail down where the error was.
