-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jcvi.compara.catalog ortholog latex ERROR `type1cm.sty' not found #543
Comments
Hi @renmiaozhen, Do you know which version of latex you have installed? The texlive-core package installed via conda seems to be the root of many of these pdfTeX errors. Your issue may have been solved here. In short, uninstall any existing version of texlive and reinstall using # On CentOS you might need to install apt first (haven't tested this)
yum install apt
# Update package index and install texlive
sudo apt update
sudo apt install texlive texlive-latex-extra texlive-fonts-recommended dvipng cm-super
# Install the python bindings for latex
pip install latex Let me know if that works. |
Excitedly, I finally settled this bug! During the command running, I received another warning: I can't find the format file `latex.fmt'! and Can't locate mktexlsr.pl in @inc. So, I run this command: which latex, the path is in my miniconda3: /miniconda3/envs/jcvi/bin/latex, but I can't uninstall this latex, because conda report errors: PackagesNotFoundError: The following packages are missing from the target environment. Therefore, I Manually deleted the latex-related files in this path /miniconda3/envs/jcvi/bin/. Now, I run the command which latex,it is under the textlive/bin/x86_64-linux/. At the same time, I install the texlive following the website https://www.tug.org/texlive/quickinstall.html
Eventually, this issue was solved. |
Thanks for the detailed summary of how you solved the issue. Looks like installing the full version of texlive provides essential files that are missing from other distributions. Closing this issue. |
When I run this command python3 -m jcvi.compara.catalog ortholog Rh Rp --no_strip_names, there is a warning :
[04:46:35 PM] INFO savefig failed. Reset usetex to False.
latex was not able to process the following string:
b'lp'
I find your previous answer about this question that sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended , but my linux is CENTOS7. So What should I do ?
Hope your answer!
The text was updated successfully, but these errors were encountered: