Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the font error encountered by the jcvi installed by canda

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

In this article Xiaobian for you to introduce in detail "canda installation of jcvi font errors encountered how to solve", detailed content, clear steps, details handled properly, I hope that this "canda installation of jcvi font errors encountered how to solve" article can help you solve doubts, the following follow the editor's ideas slowly in-depth, together to learn new knowledge bar.

The jvvi installed by canda encountered a font error:

Helvetica.ttf

/ biosoft/miniconda/envs/genefamilyenv/lib/python2.7/site-packages/matplotlib/font_manager.py:1333: UserWarning: findfont: Font

Family [uprisanslu] not found. Falling back to DejaVu Sans

(prop.get_family (), self.defaultFamily [fontext]))

Because there is no such font in the server.

/... / software/Python-2.7.8/lib/python2.7/site-packages/matplotlib/font_manager.py:1316: UserWarning: findfont: Font family [uprisansMurserif'] not found. Falling back to DejaVu Sans (prop.get_family (), self.defaultFamily [fontext]))

1. ~ / .cache / matplotlib/fontList.json file stores font information that will be called when matplotlib runs. The above error indicates that there must be no Helvetica-related information or corresponding Helvetica.ttf file in this file.

two。 Download a Helvetica.ttf file online and put it in matplotlib's font directory (* * / matplotlib/mpl-data/fonts/ttf/) or the system's font directory (/ usr/share/fonts/)

3. Delete the ~ / .cache / matplotlib directory and rerun your drawing script; at this point, the program will automatically generate the matplotlib directory and fontList.json files in the ~ / .cache directory.

Generally speaking, it should be successful when you get here.

Read here, this "canda installation of jcvi encountered font errors how to solve" article has been introduced, want to master the knowledge of this article also need to practice and use in order to understand, if you want to know more about the article, welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report