Roary
Roary copied to clipboard
Unable to run roary.plots
Hello,
I ran roary and got the necessary files. I downloaded the roary.plots code in a "roary_plots.py" file. I tried running the next line of code:
python roary_plots.py core_gene_alignment.nwk gene_presence_absence.csv
I got the following message:
Traceback (most recent call last): File "roary_plots.py", line 65, in <module> import matplotlib ModuleNotFoundError: No module named 'matplotlib'
I hope you can help me out. Thank you!
You are missing the required python libraries to make the plots.
Install it with pip, like so:
pip install matplotlib
You will probably also need seaborn
and biopython
, that you can install in the same way.