-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编码错误问题 #4
Comments
merge master of marggbo to master of pprp
I met the same problem when I ran this code: |
Did you use hyperbox in Windows system? We would recommend you to use it in Linux, as we did not verify it in Windows. |
yeah,I ran in Windows. Thank you very much,I will try in linux. |
Error executing job with overrides: []
Traceback (most recent call last):
File "D:/kk/autoML/hyperbox/hyperbox/run.py", line 31, in main
utils.print_config(config, resolve=True)
File "C:\Users\kk\anaconda3\envs\hydra\lib\site-packages\pytorch_lightning\utilities\distributed.py", line 48, in wrapped_fn
return fn(*args, **kwargs)
File "D:\kk\autoML\hyperbox\hyperbox\hyperbox\utils\utils.py", line 150, in print_config
rich.print(tree, file=fp)
File "C:\Users\kk\anaconda3\envs\hydra\lib\site-packages\rich_init_.py", line 68, in print
return write_console.print(*objects, sep=sep, end=end)
File "C:\Users\kk\anaconda3\envs\hydra\lib\site-packages\rich\console.py", line 1615, in print
self._buffer.extend(new_segments)
File "C:\Users\kk\anaconda3\envs\hydra\lib\site-packages\rich\console.py", line 825, in exit
self._exit_buffer()
File "C:\Users\kk\anaconda3\envs\hydra\lib\site-packages\rich\console.py", line 784, in _exit_buffer
self._check_buffer()
File "C:\Users\kk\anaconda3\envs\hydra\lib\site-packages\rich\console.py", line 1836, in _check_buffer
write(line)
UnicodeEncodeError: 'gbk' codec can't encode character '\u2699' in position 0: illegal multibyte sequence
*** You may need to add PYTHONIOENCODING=utf-8 to your environment ***
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Process finished with exit code 1
操作系统:Windows10
8月13的版本直接运行python run.py没有此问题,8月18版本直接运行python run.py运行出现该问题。在linux下没有此问题
The text was updated successfully, but these errors were encountered: