Macでmecabを使うまで

% brew install mecab
f:id:harucharuru:20210207095324p:plain

% brew install mecab-ipadic
f:id:harucharuru:20210207095341p:plain


ターミナルで使用できることを確認
% mecab
f:id:harucharuru:20210207095419p:plain

condaで利用できるようにするため
% conda install -c anaconda swig
f:id:harucharuru:20210207095506p:plain

% pip install mecab-python3
f:id:harucharuru:20210207095530p:plain

pythonで利用できることを確認
f:id:harucharuru:20210207095642p:plain

condaの環境で、以下のコマンドを利用してmecabを入れる
f:id:harucharuru:20210207095747p:plain

参考
Python3からMeCabを使う - Qiita
anacondaのjupyter notebookからmecabを使うまでの手順 - Qiita