genbank_get_genomes_by_taxon.py command not found

In this troubleshooting guide we learn how to fix genbank_get_genomes_by_taxon.py command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

genbank_get_genomes_by_taxon.py: command not found

or when using sudo you get the following error message

sudo: genbank_get_genomes_by_taxon.py: command not found

Solutions to genbank_get_genomes_by_taxon.py: command not found

How To Fix genbank_get_genomes_by_taxon.py: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu genbank_get_genomes_by_taxon.py is provided by python3-pyani package.

python3-pyani is:

Pyani is a Python3 module and script that provides support for calculating average nucleotide identity (ANI) and related measures for whole genome comparisons, and rendering relevant graphical summary output. Where available, it takes advantage of multicore systems, and can integrate with SGE/OGE-type job schedulers for the sequence comparisons.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-pyani

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-pyani.

sudo apt -y install python3-pyani

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-pyani

Summary

In this tutorial we learn how to fix genbank_get_genomes_by_taxon.py command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.