logo
Loading...

使用nbmerge 合拼兩個HW notebook 出現UnicodeEncodeError? - Cupoy

(base) C:\Users\wp>nbmerge Day_005-1_HW.ipynb Day_...

ml100-3-d05,ml100-3

使用nbmerge 合拼兩個HW notebook 出現UnicodeEncodeError?

2019/09/05 08:11 AM
機器學習新手論壇
WP
觀看數:0
回答數:2
收藏數:0
ml100-3-d05
ml100-3

(base) C:\Users\wp>nbmerge Day_005-1_HW.ipynb Day_005-2_HW.ipynb  > Day_005_HW.ipynb

Traceback (most recent call last):

 File "c:\users\wp\anaconda3\lib\runpy.py", line 193, in _run_module_as_main

   "__main__", mod_spec)

 File "c:\users\wp\anaconda3\lib\runpy.py", line 85, in _run_code

   exec(code, run_globals)

 File "C:\Users\wp\Anaconda3\Scripts\nbmerge.exe\__main__.py", line 9, in 

 File "c:\users\wp\anaconda3\lib\site-packages\nbmerge\__init__.py", line 202, in main

   write_notebook(nb, sys.stdout)

 File "c:\users\wp\anaconda3\lib\site-packages\nbformat\__init__.py", line 169, in write

   fp.write(s)

 File "c:\users\wp\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 characters in position 94-97: character maps to