Command ‘i‘ not found, but can be installed with:(Linux Shell pdb)

清疚 2024-04-03 12:16 135阅读 0赞

Command ‘i’ not found, but can be installed with:(Linux Shell pdb)

  • 哪里出了问题?

哪里出了问题?

气死啦!!!

在Linux运行shell文件,使用pdb进行调试,一堆命令中报了这一句的错误,如下:

  1. i = 0

结果就一直报如下错误:

  1. Command 'i' not found, but can be installed with:
  2. apt install iprint
  3. Please ask your administrator.

一直没找到错误在哪里,后来发现是自己写Python代码写习惯了,在shell里写的 i = 0,shell里面是没有这个空格的,直接写成i=0即可。

发表评论

表情:
评论列表 (有 0 条评论,135人围观)

还没有评论,来说两句吧...

相关阅读