FileNotFoundError: [Errno 2] No such file or directory: ‘.gitignore’ 报错界面如下: 解决办法: fitlog init . 注意: 如果是在colab上面运行程序,报此错误,解决办法是: !fitlog init . 区别:运行命令多了一个感叹号。