diff --git a/bin/anvi-draw-kegg-pathways b/bin/anvi-draw-kegg-pathways index f6a82f065..445b3d961 100755 --- a/bin/anvi-draw-kegg-pathways +++ b/bin/anvi-draw-kegg-pathways @@ -383,4 +383,12 @@ if __name__ == '__main__': except FilesNPathsError as e: print(e) sys.exit(-1) - + except Exception as e: + print( + "Have you installed the necessary Python package requirements for " + "`anvi-draw-kegg-pathways`? This might be the cause of the error that was encountered, " + "reported below. Run the following command in your terminal and then try rerunning the " + "program:\npip install biopython ReportLab pymupdf frontend\n" + ) + print(e) + sys.exit(-1)