![brew uninstall macvim brew uninstall macvim](https://i.stack.imgur.com/EUvYo.jpg)
How do I save configuration settings All settings should be saved in a file named. no: PYTHON DISABLED output I saw this a lot while I was working my way through this problem. Simply download Homebrew and do brew install macvim. I use -verbose here to catch whether I get the dreaded checking if compile and link flags for Python are sane. In my ~/.zshenv (or in your case it could be ~/.bashrc or ~/.zshrc or whatever you're setup to use) I needed this magical variable: export DYLD_FORCE_FLAT_NAMESPACE=1ĭon't forget to source ~/.zshrc (or whatever) when you make that change.įinally: $ brew install -verbose macvim -env-std -override-system-vim -python I also had a problem that somehow my link didnt work although it was there.
![brew uninstall macvim brew uninstall macvim](https://www.zxavier.com/21-02-06-macvim/old-vim.png)
I'm not certain this was essential but it seemed like a good time to sort this out and it only took about 20 minutes (with boost's compilation taking about 15 minutes of that time). I also fixed problems pointed out by running brew doctor which included updating boost and adding missing dependencies for a number of installed formulas. (This corrects a problem where can't be located during compilation.) I installed macvim via brew install macvim -override-system-vim. In the terminal type: which vim Thatll tell you what its running when you type vim. Then I had to create a custom symlink to get past a build problem: $ cd /System/Library/Frameworks/amework/Versions/2.7/include/python2.7 It will help if MacVim was installed with brew. Around the line that reads: ENV.prepend 'LDFLAGS'. If you are reading this a few weeks or longer after Mavericks has been released to the public then its likely these problems will have been solved already within Homebrew.įirst I had to manually patch /usr/local/Library/Formula/macvim.rb.
![brew uninstall macvim brew uninstall macvim](https://raw.githubusercontent.com/LyricTian/vim/master/screenshots/screenshot.png)
Fortunately I got it working and I can be productive once again.Įverything here applies to the Homebrew ( brew) installed version of MacVim using the OSX system installation of Python. Ultimately the best I could end up with was a successful build (this took some herculean effort to attain) that would crash rather anticlimactically: $ mvimįatal Python error: PyThreadState_Get: no current thread Have installed MacVim using brew on an M1 (ARM) MacOs. I tried using the precompiled Python 2.7.5 installer (which I had to manually uninstall, ick), building MacVim from source with crazy LDFLAGS and CFLAGS settings, and a few other things. I tried to reinstall my MacVim as well but it didnt solve the problem. I experienced a ton of difficulties getting MacVim compiled with a bunch of false leads and research. They said that it might be related to rvm but brew uninstall vim rvm system brew install vim didnt help. It felt like a clean install of MacVim was in order anyway. After upgrading to Mavericks I was having problems since my brew'd Python was replaced with the OSX system python. I also use a couple of plugins that require Python - YouCompleteMe and powerline. I require MacVim on OSX to work productively. $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfigĥ.如果出现错误 Error: error while reading from input streamĮrror: Image given has not completed loaded $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig configure -prefix=/usr/local -disable-dependency-trackingģ.libpng & export. Spotlight using either aliases or symlinks and Homebrew formulae do not build 'proper'. configure -with-internal-glib & make install Unfortunately brew linkapps cannot behave nicely with e.g. ecjb From the brew list output it appears that neither ex-vi nor macvim is installed, but vim appears to be installed.
![brew uninstall macvim brew uninstall macvim](https://i.stack.imgur.com/YkEqa.jpg)
$ tar -zxf pkgconfig.tgz & cd pkg-config-0.28 Git remote set-url origin git://.cn/homebrew-python.gitĬategoryMirrorUsage 安装 node-canvas (源代码安装) Right-click on it and select Move to Trash from the menu that appears. In the Applications folder, find and select the MacVim.app file. Git remote set-url origin git://.cn/homebrew-science.gitĬd /usr/local/Library/Taps/homebrew/homebrew-python For this, take the following steps: Quit MacVim. 使用homebrew-science或者homebrew-python cd /usr/local/Library/Taps/homebrew/homebrew-science