-
Notifications
You must be signed in to change notification settings - Fork 341
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
Python files returns error #39
Comments
Hi @amiralkizaru , Can you, please, do Thanks, |
Hello Thanks for the fast reply
|
There might be two reasons why this issue appears:
Does vim support Python 3?To check this, run $ vim --version | grep python
+comments +libcall -python +vreplace
+conceal +linebreak +python3 +wildignore Meaning Python3 but no Python 2 support. As of 2020, this seems to be the outcome of most vim binaries provided by various package managers. Is your Python interpreter Python 3?As of 2020, Python2 is the default interpreter on most Linux distros. Vim, however, requires a Python3 environment. $ python --version
Python 2.7.15+ If you use conda or similar Python installations, make sure to call the system's default, and not your shell's (eg. If indeed your interpreter is Python2, check that you have Python3 available: $ python3 --version
Python 3.7.6 If so, you're set to resolve the issue by changing the " python executables for different plugins
let g:pymode_python='python3'
let g:syntastic_python_python_exec='python3' You should then be set :) I'm not sure what the Python is on various systems, so I'm not sure whether to open a PR to fix these lines. |
Hi, I set
Do you know the reason? My OS is MacOS Big Sur and my vim version is
Thanks! |
Hello
I'm using Kali Os in virtualbox
I have followed the installation structure, Everything works fine but when I try to open a python file
I get this weird error
The text was updated successfully, but these errors were encountered: