问题:
打开py 文件 提示 vscode "Path to the pylint linter is invalid"
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pylint
或者提示:
vscode "Path to the pylint linter is invalid"python
缘由:
pylint 未安装、配置正确:json
解决:
pip show pylint 看看版本
settings.json 设置成这样就行了segmentfault
"python.linting.pylintPath": "pylint", "python.pythonPath": "/usr/bin/python3",
使用vscode开发Python程序:代码静态检查工具pylint及代码格式化工具yapf的配置使用
Linting Python in Visual Studio Code工具
which -a python3
选择正确的版本而后fill 到对应 settings.json 的 pythonpath.net
dep
name & dep命令行
stackoverflow
pyccode
文件最开头加入一行blog
# -*- coding: UTF-8 -*-
orip
#coding=utf-8