Roary icon indicating copy to clipboard operation
Roary copied to clipboard

Unable to run roary.plots

Open EllistonV opened this issue 3 years ago • 1 comments

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!

EllistonV avatar Mar 31 '21 06:03 EllistonV

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.

AndreaZen-1 avatar Apr 06 '21 17:04 AndreaZen-1