Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
488 views
in Technique[技术] by (71.8m points)

python - vim-flake8无法正常工作(vim-flake8 is not working)

I installed vim-flake8 by git cloning it on my Pathogen bundle folder as usual, but when I tried to run the plugin pressing F7 or using :call Flake8() in one Python file I receive the following message:

(我像往常一样通过git将其克隆到我的Pathogen捆绑文件夹中来安装vim-flake8 ,但是当我尝试按F7或在一个Python文件中使用:call Flake8()运行插件时,收到以下消息:)

Error detected while processing function Flake8:

(处理功能Flake8时检测到错误:)

line 8:

(第8行:)

File flake8 not found.

(找不到文件flake8。)

Please install it first.

(请先安装它。)

Anyone has some clue about what is going on ?

(任何人都知道发生了什么事吗?)

  ask by Jonatas Eduardo translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The error message is telling you that you didn't install the program flake8 .

(错误消息告诉您您没有安装flake8程序。)

Install it.

(安装它。)

Assuming pip is installed

(假设已安装pip)

pip install flake8

should work.

(应该管用。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...