unirt city

技術の話とか

jupyter-themesでUnicodeDecodeErrorが起こった時の対処法

タイトル通りです。

 

 

対処法ですが、githubのissueを参照すればすぐ解決しました。

github.com

 

This is the converted file, save it as 'notebook.less'
notebook.less.txt

and replace your notebook.less file in your site-packages/jupytherthemes/layout

 

 

.lessで保存したいのに.txtで保存されてしまうという場合は、エクスプローラーの「表示」から「ファイル名拡張子」をチェックして拡張子まで名前で表示されるようにしてから、名前の変更で「notebook.less.txt」->「notebook.less」とすればうまくいくと思います。

 

 

以上です。