Note
For troubleshooting information, see these pages: Linux. Mac OS. Windows. Please record a “New Issue” if you have an error that is not listed. You can also see testing logs here.
$ sudo apt-get install python-dev python3-dev
$ pip install konlpy # Python 2.x
$ pip3 install konlpy # Python 3.x
$ sudo apt-get install curl
$ bash <(curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh)
$ pip install konlpy # Python 2.x
$ pip3 install konlpy # Python 3.x
$ bash <(curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh) # (Optional) Install MeCab
2. Download and install JPype1 (>=0.5.7). [1] You may have to upgrade your pip version in order to install the downloaded .whl file.
> pip install --upgrade pip
> pip install JPype1-0.5.7-cp27-none-win_amd64.whl
> pip install konlpy
Download, extract [2], and install the most recent version of MeCab from the following links (optional):
Warning
[1] | win-amd64 for 64-bit Windows, win32 for 32-bit Windows. |
[2] | Having MinGW/MSYS or Cygwin installed may be more convenient. If you plan to use Git, Git BASH is another good option. Otherwise, you can use 7zip for the extraction of tar files. |