如何在 Debian/Ubuntu 上安装 coala

How do I install coala on Debian/Ubuntu

我听说过这个 coala linting/static 分析工具, 我想试一试。

所以我运行sudo apt-get install coala 但这给了我错误的程序, coala 是某种编译器,根本不是我想要的。

coala的正确安装方法是什么

coala(linter)目前没有为 ubuntu 打包。您需要通过 apt 卸载 coala 软件包,然后您可以使用 pip install coala-bears.

安装 coala 及其所有分析

完整的安装说明在 https://coala.io/install 上,包括一些关于 python virtualenvs 的提示。

我还提交了 an issue 关于您的问题,因此我们的安装指南中提到了它。

"Ubuntu Users - Do not use apt-get install coala for installing coala as that is different software." - 见 http://coala.readthedocs.io/en/latest/Users/Install.html

使用:
$ pip3 安装 coala
$ pip3 安装 coala-bears