Flycheck 如何切换python版本?

目前主要使用python3,但是flycheck默认好像是使用python2。

stackoverflow上有人说和安装pylint的pip版本有关,但我的机器上的默认版本是pip3。

已经解决,flycheck可以指定lint,安装了python3的pylinit,然后

(setq flycheck-python-pylint-executable “the/way/to/pylint”)

2 个赞