Comments (3)
感谢建议,我也见到了源仓库里新增了说明,我同步一下
from headimg_generator.
@Lanly109 @SlightDust 并不需要这么麻烦。
在安装字体之前就安装了matplotlib的话需要删除matplotlib的缓存,这是matplotlib那边的问题,清除缓存以后即可正确读取到字体。
用jupyter搞炼丹的应该对这个问题很熟悉
另外,不建议对Python package进行修改,可能会出现潜在的问题。
对于Linux系统,缓存目录应该是:
~/.cache/matplotlib/*.json
对于Windows系统,缓存目录应为:
C:\Users\<Your User Name>\.matplotlib\*.json
from headimg_generator.
@Lanly109 @SlightDust 并不需要这么麻烦。 在安装字体之前就安装了matplotlib的话需要删除matplotlib的缓存,这是matplotlib那边的问题,清除缓存以后即可正确读取到字体。
用jupyter搞炼丹的应该对这个问题很熟悉另外,不建议对Python package进行修改,可能会出现潜在的问题。 对于Linux系统,缓存目录应该是:
~/.cache/matplotlib/*.json对于Windows系统,缓存目录应为:
C:\Users\<Your User Name>\.matplotlib\*.json
原来如此。学到了,感谢!
from headimg_generator.
Related Issues (20)
- 表情包会一闪一闪的。 HOT 2
- 无法加载 resources 下 fonts 字体 HOT 4
- 无法显示文字 HOT 3
- 这个报错应该怎么办呢?
- pip install -r requirements.txt 报错 HOT 1
- 同步上游更新 HOT 3
- TypeError: split_msg_v11() takes 4 positional arguments but 5 were given HOT 1
- 在首次安装生成config.yml后再次启动hoshino时出现报错 HOT 6
- 能否像以前一样增加回复触发? HOT 5
- 报错显示这个 求助 HOT 14
- 这是什么报错 HOT 1
- 请问 我安装后不能使用怎么办 HOT 7
- 报错 yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object/apply:hoshino.modules.headimg_generator.manage r.MemeMode' 解决办法 HOT 2
- 典中典无法使用,求助 HOT 4
- AttributeError: 'Event' object has no attribute 'to_me' HOT 2
- Docker部署的Hoshinobot,字体问题应该如何解决? HOT 2
- 这个报错重装依赖也运行不起来 HOT 1
- 使用at和’自己‘方式触发时报错 HOT 7
- 表情资源和none那边不会同步吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headimg_generator.