spf13-vim icon indicating copy to clipboard operation
spf13-vim copied to clipboard

mac vim *.py error

Open qingzew opened this issue 7 years ago • 4 comments

File "<string>", line 1, in Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: File "/Users/wqz/.vim/bundle/python-mode/pymode/lint.py", line 9, in Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: from pylama.lint.extensions import LINTERS Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: File "/Users/wqz/.vim/bundle/python-mode/pymode/libs/pylama/lint/extensions.py", line 30, in Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: from pkg_resources import iter_entry_points Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: File "/Users/wqz/.vim/bundle/python-mode/pymode/libs/pkg_resources/init.py", line 21, in Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: import io Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: import _io Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: ImportError: dlopen(/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: Referenced from: /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: Expected in: flat namespace Error detected while processing /Users/wqz/.vim/bundle/python-mode/autoload/pymode/lint.vim: line 1: in /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so

os

mac serria 10.12.3 python 2.7.13

qingzew avatar Mar 27 '17 12:03 qingzew

Stop using spf13-vim, it's not maintained any more.

You can try spacemacs, which provides much more stable and powerful functionalities.

qiuwei avatar Mar 30 '17 09:03 qiuwei

But spacemacs is for emacs, isn't it?

Page-David avatar Jul 31 '17 07:07 Page-David

@Page-David yes, it is. However, it has a vim emulation layer. For me, it feels really like using vim.

You might also want to try spacevim which is built upon vim, folllowing similar ideas from spacemacs.

qiuwei avatar Jul 31 '17 09:07 qiuwei

try manually install python-mode git clone --recursive https://github.com/python-mode/python-mode.git

halfcrazy avatar Mar 26 '18 09:03 halfcrazy