Sorry, this command is disabled, the Python's site module could not be loaded
brew upgrade
したら、vimにこんなエラーが出るようになった
(brew cleanup
もした)
Error detected while processing function <SNR>23_InitializePythonBuiltin: line 23: E887: Sorry, this command is disabled, the Python's site module could not be loaded. Press ENTER or type command to continue
まぁ、読んだ通りのエラー
python関係が弄られちゃったかな
brew upgrade
の内容は以下
$ brew upgrade ==> Upgrading 11 outdated packages, with result: harfbuzz 1.3.2, mpfr 3.1.5, node 6.7.0, postgresql 9.5.4_1, pyenv 1.0.2_1, python 2.7.12_1, python3 3.5.2_2, readline 7.0, redis 3.2.4, ruby 2.3.1_1, sqlite 3.14.2_1
ありがたいことに、直し方をまとめてくれている人がいた
Vimで'E887: Sorry, this command is disabled, the Python's site module could not be loaded.'なエラー
私の場合も
brew reinstall vim --HEAD
これで直りました