Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E837: This Vim cannot execute :py3 after using :python #1102

Open
mgrabenstein opened this issue Aug 25, 2020 · 1 comment
Open

E837: This Vim cannot execute :py3 after using :python #1102

mgrabenstein opened this issue Aug 25, 2020 · 1 comment

Comments

@mgrabenstein
Copy link

@mgrabenstein mgrabenstein commented Aug 25, 2020

Latest MacVim update to Custom Version 8.2.1456 (165). started getting these errors.

Error detected while processing CursorMoved Autocommands for "<buffer=1>"..script //.vim/pack/python-mode/start/python-mode/autoload/pymode/lint.vim:
line 1:
E837: This Vim cannot execute :py3 after using :python

Updated my Python-mode to latest, still getting above error.

@lieryan
Copy link
Contributor

@lieryan lieryan commented Oct 8, 2020

This is not an issue with python-mode itself, but rather it usually happens if you have other plugins (or some config in your .vimrc) that still uses Python 2. Vim can only run Python 2 or Python 3 plugins, but not both simultaneously. python-mode only supports Python 3, so you'll need to disable or update those other plugin if you want to use python-mode or use the last-py2-support branch.

Alternatively, if you really, really, really can't live without both plugins, you may want to consider using NeoVim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.