tanghaibao / jcvi

Python library to facilitate genome assembly, annotation, and comparative genomics
BSD 2-Clause "Simplified" License
712 stars 185 forks source link

Error when I want to generate a pdf. #586

Closed Neo-xbx-00 closed 9 months ago

Neo-xbx-00 commented 10 months ago

Hello, I want to use jcvi for my genome survey and this is my code: python -m jcvi.assembly.kmer histogram --vmin=2 --vmax=400 --pdf kmcdb_k21_Erad_Illumina.hist Er_2_Genome 21

However, I faced the error infomation like the following and didn't get the plot in pdf format in my path: [09:52:47 PM] DEBUG Matplotlib backend is: agg base.py:318 DEBUG Attempting save as: base.py:319 kmcdb_k21_Erad_Illumina.pdf
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.7, library: 1.2.13) [09:52:48 PM] ERROR savefig failed with message: base.py:324 Matplotlib's TeX implementation searched for
a file named 'phvr7t.tfm' in your texmf tree,
but could not find it
INFO Try running again with --notex option to base.py:325 disable latex.
DEBUG Cleaning up empty file: base.py:328 kmcdb_k21_Erad_Illumina.pdf
==> Start nbinom method on range (11, 10000) Please give me some suggestion?

Neo-xbx-00 commented 9 months ago

I know, Just add "--notex" when using