在jupyter notebook 运行报错?
Created by: binwang672012
如图,在jupyter notebook 下运行报错,经过重装paddle,重启jupyter ,重启系统的情况下仍然如此,不知道为何,希望能帮忙查找下原因,感谢.
具体报错信息如下:
`--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in ----> 1 import paddlepalm
~/anaconda3/lib/python3.7/site-packages/paddlepalm/init.py in 5 from . import lr_sched 6 from . import backbone ----> 7 from . import reader 8 from . import head 9
~/anaconda3/lib/python3.7/site-packages/paddlepalm/reader/init.py in 1 ----> 2 from .cls import ClassifyReader 3 from .match import MatchReader 4 from .seq_label import SequenceLabelReader 5 from .mrc import MRCReader
~/anaconda3/lib/python3.7/site-packages/paddlepalm/reader/cls.py in 15 16 from paddlepalm.reader.base_reader import Reader ---> 17 from paddlepalm.reader.utils.reader4ernie import ClassifyReader as CLSReader 18 19
~/anaconda3/lib/python3.7/site-packages/paddlepalm/reader/utils/reader4ernie.py in 40 if six.PY3: 41 import io ---> 42 sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8') 43 sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8') 44
AttributeError: 'OutStream' object has no attribute 'buffer'`