I'm trying to install vim with brew in Mac OS mojave, I can use it by introducing the entire direction in the terminal but when I type vim
it uses the default one, and when I built it it showed this error:
==> Pouring vim-8.2.0750.mojave.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/man/de/man1/ex.1
/usr/local/share/man/de/man1 is not writable.
You can try again using:
brew link vim
I tried linking it and it showed this error:
$ brew link vim
Linking /usr/local/Cellar/vim/8.2.0750...
Error: Could not symlink share/man/de/man1/ex.1
/usr/local/share/man/de/man1 is not writable.
MacBook-Air-de-Carlos:~ julian$
$ brew install vim Error: Cannot install vim because conflicting formulae are installed. ex-vi: because vim and ex-vi both install bin/ex and bin/view Please `brew unlink ex-vi` before continuing. Unlinking removes a formula's symlinks from /usr/local. You can link the formula again after the install finishes.
I assumed brew install vim --with-python3 installs for both python 2.x and 3.x. But note when you first issue an :python command inside vim (and perhaps from the .vimrc ), vim will disable :python3 and vice versa. So The first command decides if you are running python 2.x or 3.x. At least that is what I got from testing.
Unlinking removes a formula's symlinks from /usr/local. You can link the formula again after the install finishes. You can --force this install, but the build may fail or cause obscure side effects in the resulting software. Now install vim by running brew install vim.
Now vim can load brewed Python dynamic library using absolute path. Sorry, something went wrong. @mbcoguno cool ... I'll check your PR. That is good news! Sorry, something went wrong.
You have to set ownership on /usr/local/share
with:
sudo chown -R $(whoami) /usr/local/share
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With