Я не могу установить pychecker на свой ubuntu 21.04

Итак, я пытаюсь установить pychecker, чтобы проверить большой файл python, мой друг хотел, чтобы я проверил, но при попытке установить pychecker с помощью sudo apt-get install pychecker а также sudo apt-get install -y pychecker и он возвращается E: Unable to locate package pychecker

1 ответ

Решение

pychecker is no longer included as a package in Ubuntu and Debian because it is unmaintained: the latest version is from 2011, and that version will not work with current versions of Python. From here:

Please consider moving away from Pychecker in favor of an alternative likePylint [1]. Pychecker is basically unmaintained upstream. Also, it is onlysupported for Python 2, so it will reach its end of life along with Python 2sometime 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 andweed out warnings that you want to ignore.

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

Other alternatives include flake8.

Другие вопросы по тегам