Open whg517 opened 6 years ago
Hi: file: /usr/lib/python2.6/site-packages/resource_management/core/sudo.py
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
I will try again later, and I am now installing the tutorial in Hue 3.9 on HDP 2.3, thanks
@kiven517 you also can change the code like this:
File(params.hue_server_pid_file,
action = "delete",
owner = params.hue_user,
encoding='utf-8',
)
This is work on my environment.
@tangleiNUAA 谢谢你的回答。我根据作者方法,更改了 /usr/lib/python2.6/site-packages/resource_management/core/sudo.py
这个文件。能够成功运行。
ENV:
Error log
Once I've modified the code, the HUE service will be started properly using the local package installation. The error message is a character set problem. I have limited ability to find out where it is. I hope I can give you some answers. thank you
My friend told me this was due to a Chinese quotation mark.
“”
“
Quotation marks in Chinese'
The quotation marks are the same in English What should I do?