运行bash rename.sh时报错,遇到 import: not authorized `os' @ error/constitute.c/WriteImage/1028.问题求助

运行此博客转换名称的这一步,出现报错

https://blog.****.net/liuyan20062010/article/details/78905517

运行bash rename.sh时报错,遇到 import: not authorized `os' @ error/constitute.c/WriteImage/1028.问题求助

报错如下:

import: not authorized `os' @ error/constitute.c/WriteImage/1028.
rename_6bit.sh: 行 3: 未预期的符号 `(' 附近有语法错误
rename_6bit.sh: 行 3: `class BatchRename(): 

 

这是我的.sh文件

运行bash rename.sh时报错,遇到 import: not authorized `os' @ error/constitute.c/WriteImage/1028.问题求助