wandb 导入环境变量问题

问题描述:
This system supports the C.UTF-8 locale which is recommended. You might be able to resolve your issue by exporting the following environment variables:

    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8

Click discovered that you exported a UTF-8 locale but the locale system could not pick up from it because it does not exist. The exported locale is 'en_US.utf-8' but it is not supported.

解决方案:
1、查看当前语言
echo $LANG
结果是:-bash: export: `en_US.utf-8': not a valid identifier

2、vim ~/.bashrc

最后一行追加:

export LC_ALL=C.UTF-8
export LANG=C.UTF-8

3、然后使用户配置生效 

source ~/.bashrc 


版权声明:本文为weixin_42362597原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。