Python 维姆,蟒蛇3号和联味

Python 维姆,蟒蛇3号和联味,python,vim,syntastic,Python,Vim,Syntastic,python脚本运行得很好,所以我想知道syntastics会抱怨什么 import numpy as np np.random.seed(123) syntastic: [no-member] Module 'numpy.random' has no 'seed' member random_walk = [0] syntastic: [invalid-name] Invalid constant name "random_walk" 环境: python 3.5.2 vim 8.0.6

python脚本运行得很好,所以我想知道syntastics会抱怨什么

import numpy as np
np.random.seed(123)
syntastic: [no-member] Module 'numpy.random' has no 'seed' member

random_walk = [0]
syntastic: [invalid-name] Invalid constant name "random_walk"
环境:

  • python 3.5.2
  • vim 8.0.66
  • 视窗8
我补充说

let g:syntastic_python_python_exec = 'c:\Users\user\Anaconda3\python.exe'
let g:syntastic_python_checkers = ['pylint']

到我的vimrc,但它没有做任何更改。

1
g:syntastic_python_python_exec
pylint
检查器无关。如果要运行蟒蛇,请参阅。2.你找错了方向,syntastic不知道也不关心你文件的内容。启用调试(请参见
:h syntastic debug
)以找出传递给
pylint
的选项,然后询问
pylint
为什么对所述选项的代码进行投诉。你完全正确,我完全走错了方向。我需要调查派林。