Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install humann via python pip




humann - HUMAnN: The HMP Unified Metabolic Analysis Network, version 3, it belongs to Classifiers:

- Operating System :: MacOS
- Operating System :: Unix
- Topic :: Scientific/Engineering :: Bio-Informatics

When you know about this project and you want to new install humann to support your project or you get trouble as ModuleNotFoundError: No module named "humann" or ImportError: cannot import name "humann" in your project, let follow this tutorial to install humann



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_humann_env

- Active the virtual environment

test_humann_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_humann_env

- Active the virtual environment

source test_humann_env/bin/active


Step 2: OK, now, let flow below content to start the installation humann

To install humann on Windows(CMD):

py -m pip install humann

To install humann on Unix/macOs:

pip install humann


Step 3: If you want to install a specific humann version, add ==<humann version> to the end command line

Example:

pip install humann==3.0.0a0                                                        pre-release


Please see the version list below table:

VersionReleased dateCommand
humann 3.1.12022-07-27T20:50:43Windows:

py -m pip install humann==3.1.1

Unix/macOs:

pip install humann==3.1.1

humann 3.1.02022-07-25T14:10:13Windows:

py -m pip install humann==3.1.0

Unix/macOs:

pip install humann==3.1.0

humann 3.0.12021-11-18T16:47:15Windows:

py -m pip install humann==3.0.1

Unix/macOs:

pip install humann==3.0.1

humann 3.0.02021-04-22T23:29:23Windows:

py -m pip install humann==3.0.0

Unix/macOs:

pip install humann==3.0.0


Step 4: Otherwise, you can install humann from local archives:

Download the distribution file from humann-3.1.1.tar.gz or the specific humann version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_humann_downloaded_file>

On Unix/macOs:

pip install <path_to_humann_downloaded_file>


List distribution:

- humann-3.0.0-alpha.tar.gz
- humann-3.0.0a1.tar.gz
- humann-3.0.0a2.tar.gz
- humann-3.0.0a3.tar.gz
- humann-3.0.0a4.tar.gz
- humann-3.0.0.tar.gz
- humann-3.0.1.tar.gz
- humann-3.1.0.tar.gz
- humann-3.1.1.tar.gz
- humann-3.5.tar.gz
- humann-3.6.tar.gz


Project link:

- Homepage