我无法在 ubuntu 21.04 上安装 pychecker

I can't install pychecker on my ubuntu 21.04

所以我正在尝试安装 pychecker 来检查我朋友要我检查的大 python 文件,但是在尝试使用 sudo apt-get install pycheckersudo apt-get install -y pychecker 安装 pychecker 时,它returnsE: Unable to locate package pychecker

pychecker 不再作为软件包包含在 Ubuntu 和 Debian 中,因为它无人维护:最新版本是 2011 年的,该版本不适用于 [=18 的当前版本=].来自 here:

Please consider moving away from Pychecker in favor of an alternative like Pylint [1]. Pychecker is basically unmaintained upstream. Also, it is only supported for Python 2, so it will reach its end of life along with Python 2 sometime in 2020.

...

Now is the time to convert. Pylint does everything that Pychecker used to do. The main effort required is to create your new configuration file and weed out warnings that you want to ignore.

[1] https://www.pylint.org/

其他备选方案包括 flake8