Install mecab-python on Mac

I didn't go smoothly, so make a note of it.

It was easy to install mecab with brew. (I couldn't install mecab-python, which will be described later, and I compiled it in the process of trial and error.)

$ brew install mecab
$ brew install mecab-ipadic

This is the production. Install mecab-python. Ordinarily easy_install https://mecab.googlecode.com/files/mecab-python-0.996.tar.gz clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future error: command '/usr/bin/gcc' failed with exit status 1 I get an error.

As a result of various investigations that did not work, setting environment variables worked.

$ wget https://mecab.googlecode.com/files/mecab-python-0.996.tar.gz
$ tar zxfv mecab-python-0.996.tar.gz
$ cd mecab-python-0.996
$
$ export CFLAGS=-Qunused-arguments
$ export CPPFLAGS=-Qunused-arguments
$ python setup.py build
$ python setup.py install

end.

Recommended Posts

Install mecab-python on Mac
Install Tensorflow on Mac
Install pyenv on mac
Install Ansible on Mac
Install Python 3 on Mac
Install Python 3.4 on Mac
Install Caffe on Mac
Install mecab on mac
Install module on Anaconda (Mac)
Install OpenPose on mac (Catalina)
Install pandas 0.14 on python3.4 [on Mac]
Install Django on your Mac
Install pillow on Mac OSX 10.9
[Mac] Tips: Install pyquery on Mac [pyquery]
Install anaconda on Mac → Add Library
Install Mecab and mecab-python3 on Ubuntu 14.04
How to install mysql-connector-python on mac
Steps to install matplotlib on Mac
Install Sphinx on Mac OS X
Install Python 3.7 Anaconda on MAC, but Python 2
Install Scipy on Mac OS Sierra
Install python3 on Mac (El Capitan)
How to install OpenCV on Mac
Install mitmproxy on Mac OS X
Install VirtualBox on CentOS 7 on VirtualBox (mac + vagrant)
Steps to install python3 on mac
Install pgmagick on Mac OS X 10.9
python on mac
Install opencv on Mac using Anaconda Navigator
How to install drobertadams / toggl-cli on Mac
Install anaconda on a new Mac anyway
Install mecab on Marvericks
Install TensorFlow on Ubuntu
Install python on WSL
Install Faiss on CentOS 7
Install pip on Mavericks
Install Python on Pidora.
Install Scrapy on python3
Install numba on CentOS 7.2
Install PySide2 on Ubuntu
Install Python3.4 on CentOS 6.6
Install gensim on Marvericks
Install JModelica on Ubuntu
Install Anaconda on Windows 10
Install numpy on Marvericks
Install python on windows
Install enebular-agent on Chromebook
Install pycuda on Windows10
Install Python 2.7.3 on CentOS 5.4
Run OpenMVG on Mac
Install aws-cli on MacPorts
Install pygraphviz on Windows 10
Install Docker on AWS
Install Python 3.3 on Ubuntu 12.04
Install Chainer 1.5.0 on Windows
Install Theano on Ubuntu 12.04
Install awscli on centos7
Install angr on Ubuntu 18.04
Install Chainer on CentOS 6.7
Try deepdream on Mac
Install pip / pip3 on Ubuntu