#python error
第二人生2
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[python error] InvocationException: GraphViz's executables not found
问题描述 InvocationException: GraphViz’s executables not found 解决方案 问题解决 将GraphViz安装目录的bin目录放到环境变量的path路径中 windows下: import os os.environ["PATH"] += os.pathsep + 'C:/Program Files (x86)/Graphviz2.38/bin...原创 2020-02-24 11:21:14 · 378 阅读 · 0 评论 -
[python error]使用matplotlib绘图时,图片上中文无法显示
问题描述 在使用python过程中,我们往往需要使用matplotlib进行图片的绘制,在绘图过程中,我们有时需要在图片上进行中文字体的显示,在使用过程中,会出现文字无法显示的问题。 解决办法 在代码中加入如下语句即可解决: from pylab import mpl mpl.rcParams['font.sans-serif'] = ['SimHei'] 参考 图片上文字无法显示问题 ...原创 2020-02-14 15:45:31 · 195 阅读 · 0 评论 -
[python error]SyntaxError: (unicode error)
问题描述 运行python文件报SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 2-3。 from skimage import io img = io.imread('C:\Users\Administrator\Documents\20200214101907.png') io...原创 2020-02-14 11:15:40 · 261 阅读 · 0 评论
分享