-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
I have pep8, pyflakes, and pydocstyle all installed, but for some reason pydocstyle tries to use python2 rather than python3. I am unable to change this. Here is the debug output from console:
SublimeLinter: find_python(version=None, script='pydocstyle', module=None)
SublimeLinter: find_python: default python = /usr/local/bin/python
SublimeLinter: find_python: available version = {'major': 2, 'minor': 7}
SublimeLinter: find_python: 'pydocstyle' path = /usr/local/bin/pydocstyle
SublimeLinter: find_python: <= ('/usr/local/bin/python', '/usr/local/bin/pydocstyle', 2, 7)
SublimeLinter: pydocstyle version query: /usr/local/bin/python /usr/local/bin/pydocstyle --version
SublimeLinter: WARNING: no pydocstyle version could be extracted from:
Traceback (most recent call last):
File "/usr/local/bin/pydocstyle", line 7, in <module>
from pydocstyle.cli import main
ImportError: No module named pydocstyle.cli
Both of the other SublimeLinter plugins use a different find_python, and they get python3 correctly:
find_python(version='3', script=None, module=<module 'pyflakes.api' from '/usr/local/lib/python3.6/site-packages/pyflakes/api.py'>)
and
find_python(version='3', script=None, module=<module 'pep8' from '/usr/local/lib/python3.6/site-packages/pep8.py'>)
This problem appears to be the same as this one:
SublimeLinter/SublimeLinter-pylint#12
Metadata
Metadata
Assignees
Labels
No labels