ERROR: 'gbk' codec can't decode byte 0xa1 in position 82: illegal multibyte sequence #3824
Replies: 8 comments
-
@HGladiator this issue may related to the encoding of your cmd/powershell, please change your command line's encoding to UTF-8 and try again. |
Beta Was this translation helpful? Give feedback.
-
my code file is utf-8, use git bash. |
Beta Was this translation helpful? Give feedback.
-
We are removing non-ascii characters from example yaml scripts. This needs to go through the translation process so it may take some time. |
Beta Was this translation helpful? Give feedback.
-
you may want to change your git bash encoding to UTF-8: right click on git bash -> options -> Text -> change |
Beta Was this translation helpful? Give feedback.
-
yes. it`s utf-8, the gbk ERROR reappeared. |
Beta Was this translation helpful? Give feedback.
-
I meet this problem also. Have you fixed it? |
Beta Was this translation helpful? Give feedback.
-
The Chinese characters inside example config file are merely comments. You can safely remove them. |
Beta Was this translation helpful? Give feedback.
-
I met this problem today and found no way to solve it. |
Beta Was this translation helpful? Give feedback.
-
Environment:
Log message:
ERROR: 'gbk' codec can't decode byte 0xa1 in position 82: illegal multibyte sequence
What issue meet, what's expected?:
when i run cmd
nnictl create --config config_windows.yml
,then stdout decode error,nii cann`t start.How to reproduce it?:
only remove chinese Hanzi Comments from config_windows.yml, nni can normal start
Additional information:
eg. maxTrialNum: #可选项: local, remote, pai, kubeflow, remove "可选项"
Beta Was this translation helpful? Give feedback.
All reactions