Closed pjozog closed 5 years ago
Oh, this isn't a emacs-ycmd
issue, it's a flycheck
one. My issue is resolved by setting:
(setq flycheck-python-pycompile-executable "/usr/bin/python3")
This setting can be confirmed via flycheck-verify-setup
:
Syntax checkers for buffer test.py in python-mode:
First checker to run:
python-pycompile
- may enable: yes
- executable: Found at /usr/bin/python3
I've compiled ycmd to use python3:
I've informed that emacs-ycmd should use python3:
But when I use perfectly valid python3 syntax in a buffer, it throws an error:![image](https://user-images.githubusercontent.com/950107/61561061-fadb9e00-aa3b-11e9-9ffb-d3cdebcffb07.png)
*ycmd-debug-info*
is as follows:The only reason I can get it to work is by by having
python
point topython3
:Any help would be appreciated, thanks.