Python 导入yaml ValueError:源代码字符串不能包含空字节

Python 导入yaml ValueError:源代码字符串不能包含空字节,python,plot,import,Python,Plot,Import,我想在网页上打印图形,我正在使用bukeh,但在导入库时遇到了这个问题 blow是导入库的代码 from motion_detector import df from bokeh.plotting import figure, show, output_file from bokeh.models import HoverTool, ColumnDataSource 第一行是数据变量。它工作得很好 我正在使用pycharm

我想在网页上打印图形,我正在使用bukeh,但在导入库时遇到了这个问题

blow是导入库的代码

from motion_detector import df
from bokeh.plotting import figure, show, output_file
from bokeh.models import HoverTool, ColumnDataSource
第一行是数据变量。它工作得很好

我正在使用pycharm