Hi Lauren,
Many thanks for the prompt reply. Unfortunately, I am still getting the same error!
As you suggested, I uninstalled the humann2 with conda and reinstalled from the source (I tried both pip and installing from source methods). As far as I can see all the dependencies are installed however I still get the following error " CRITICAL ERROR: Can not call software version for bowtie2"
Before installing humann2 with anaconda I have tried both pip and brew for installation however I was getting the following error: "the database file for MetaPhlAn does not exist at" which I couldn't resolve it by placing the database in the same file as the metaphlan2 executable. Therefore I decided to uninstall humann2 and metaphlan2 and all their dependencies and tried to install them this time via anaconda.
I can not figured how to deal with these errors and I would really appreciate your comments and suggestions for getting humann2 into work.