Errors when running vim with the pyflakes plugin

↘锁芯ラ 提交于 2019-12-02 06:47:15

https://github.com/kevinw/pyflakes-vim/issues/27

You can recommend to users that they clone the pyflakes-vim repo with git clone --recursive or you can suggest after the fact to use git submodule update --init --recursive if pyflakes-vim is saved as a git submodule itself.

Or go to pyflakes-vim and:

git submodule init && git submodule update

The point is that pyflakes-vim needs a (fresh) local copy of pyflakes under ftplugin/plugin/pyflakes if the system-wide installed version is too old.

Could be an issue with the version of Python you're running under vs. what the package you're using is looking for. A quick google for "Module getChildNodes python" got me to the page for Python compiler package which has one of those nice little "Deprecated" messages on it. So it might be that the pyflakes plugin is out of synch with the version of Python you have installed. "Python -V" will show you what version you're running.

C:\projects\fun>python -V
Python 2.7.1

I tried this to solve my problem under the Mac OS X 10.9.5.

sudo easy_install pip
pip install pyflakes

Then I opened the python scripts again, no issues reported as this:

Enjoy!

Robin

2015.01.30

This is a bug in pyflakes and we cannot help you with this here.

Try filing an issue on their git repository.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!