-
Notifications
You must be signed in to change notification settings - Fork 70
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
MacVim crashes with VimBox enabled #23
Comments
The fix is to add this line to .vimrc when you use MacPorts Python installation. let $PYTHONHOME="/opt/local/Library/Frameworks/Python.framework/Versions/Current" Then things work. |
I'm having the same issue. I'm using python 3.6 with homebrew. I tried setting the PYTHONHOME path in vimrc.custom.before but still getting the same issue. |
Yeah, I ran into this as well when trying python via brew. I'll reopen this and maybe someone can create a config that will work for all kinds of python installations. |
Adding the following code to
|
I have python 3.5 enabled but get this if I try to open a file or run:
:python3 import sys; print(sys.version)
mac-pro:VimBox robby$ mvim
mac-pro:VimBox robby$ Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'
Current thread 0x00007fff7474a000 (most recent call first):
Vim: Caught deadly signal ABRT
Vim: Finished.
The text was updated successfully, but these errors were encountered: