我安装完运行run.py在左上角连接ctp以后,程序闪退,终端提示terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid
求好心大佬帮助!
我安装完运行run.py在左上角连接ctp以后,程序闪退,终端提示terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid
求好心大佬帮助!
请先运行
locale-gen zh_CN.GB18030
如果少模块可以通过apt install安装
用Python的交易员 wrote:
请先运行
locale-gen zh_CN.GB18030
如果少模块可以通过apt install安装
老大,我已经sudo locale-gen zh_CN.GB18030成功运行了,仍然闪退,提示:
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted
牧童短笛 wrote:
用Python的交易员 wrote:
请先运行
locale-gen zh_CN.GB18030
如果少模块可以通过apt install安装
老大,我已经sudo locale-gen zh_CN.GB18030成功运行了,仍然闪退,提示:
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted
请重启下系统试试吧
通过 sudo dpkg-reconfigure locales,然后添加zh_CN.GB18030选项框,可以解决这个问题。