当我尝试使用nbmerge合并两个笔记本时,我得到了ecoding错误如何忽略它或解决它?

ecfsfe2w  于 2021-09-29  发布在  Java
关注(0)|答案(0)|浏览(182)

(基本)c:\users\brijesh\desktop>nbmerge final.ipynb ass.ipynb>final_segmentation.ipynb

Traceback (most recent call last):
  File "c:\users\brijesh\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\brijesh\anaconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\brijesh\Anaconda3\Scripts\nbmerge.exe\__main__.py", line 7, in <module>
  File "c:\users\brijesh\anaconda3\lib\site-packages\nbmerge\__init__.py", line 202, in main
    write_notebook(nb, sys.stdout)
  File "c:\users\brijesh\anaconda3\lib\site-packages\nbformat\__init__.py", line 169, in write
    fp.write(s)
  File "c:\users\brijesh\anaconda3\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u258f' in position 365780: character maps to <undefined>

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题