初学python 用sublimetxt3,安装Anaconda插件,但是打开sublimetxt时出错,弹框报错如下 查询bing了解到 https://github.com/DamnWidget/anaconda/issues/527 please find below the solution if you are using python34(3.4) or above.
采用上述做法处理后,不再弹出错误。 即打开C:\Users\user_name\AppData\Roaming\Sublime Text 3\Packages\Anaconda\anaconda_lib\linting\pyflakes下面的checker.py文件 将59行处的脚本进行修改 if PY34: LOOP_TYPES = (ast.While, ast.For) else: LOOP_TYPES = (ast.While, ast.For, ast.AsyncFor) 改为 if PY34: LOOP_TYPES = (ast.While, ast.For, ast.AsyncFor) else: LOOP_TYPES = (ast.While, ast.For) 重启sublime txt 问题解决 具体原因 后续继续观察学习 有了解的同学 请不吝赐教 十分感谢 |
|
来自: icecity1306 > 《开发资料》