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 g++ openjdk-7-jdk # Install Java 1.7+
$ sudo apt-get install python-dev; pip install konlpy # Python 2.x
$ sudo apt-get install python3-dev; 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)
> pip install --upgrade pip
> pip install JPype1-0.5.7-cp27-none-win_amd64.whl
> pip install konlpy
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. |