Macvim: Recent update to python 3.6.4 breaks macvim

Created on 11 Mar 2018  路  3Comments  路  Source: macvim-dev/macvim

Brewed python3 was updated, now brewed macvim gives the following error:

Fatal Python error: Py_Initialize: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fff8e4af340 (most recent call first):
Vim: Caught deadly signal ABRT
Vim: Finished.

Other threads have suggested upgrading to the development version of python (but these threads were quite old, so the development version of python that they are referring to is not the same as the current dev version). I tried this (brew upgrade python3 --devel), and it basically broke everything:
dyld: Library not loaded: /usr/local/opt/python/Frameworks/Python.framework/Versions/3.6/Python

vim still works in the terminal, but macvim won't open

Most helpful comment

This is what fixed it for me:

brew unlink macvim
brew install macvim --HEAD

All 3 comments

Thank you for the issue. Duplicate of https://github.com/macvim-dev/macvim/issues/562. I would recommend looking at the solutions proposed there to see if they resolve your issue.

This is what fixed it for me:

brew unlink macvim
brew install macvim --HEAD

@c0llision That fixed it, thank you:

brew unlink macvim
brew install macvim --HEAD
Was this page helpful?
0 / 5 - 0 ratings

Related issues

bmulholland picture bmulholland  路  5Comments

9mm picture 9mm  路  4Comments

J-Liu picture J-Liu  路  4Comments

itsayellow picture itsayellow  路  4Comments

PLG picture PLG  路  4Comments