如何修复加载 /etc/profile 时发现的错误:user/share/modules/int/sh 第 36 行和 61 行?

如何修复加载 /etc/profile 时发现的错误:user/share/modules/int/sh 第 36 行和 61 行?

当我启动 Ubuntu 18.04 或切换用户时,弹出一条错误消息:

" Error found when loading /etc/profile:

/usr/share/modules/init/sh: line 36: /usr/bin/tclsh: No such file or directory
/usr/share/modules/int/sh: line 61: export: module: not a function

As a result the session will not be configured correctly, you should fix the problemas soon as feasable."

如果有人能建议如何解决这个问题,那就太好了!

相关内容