-
Notifications
You must be signed in to change notification settings - Fork 334
Closed
Labels
Description
원래 Python3에서는 JPype1이 아니라 JPype1-py3 패키지를 설치해야하는데, 설치 로그를 보니 전자로 설치되고 있습니다.
epark@dada:~$ pip3 install konlpy --upgrade
Downloading/unpacking konlpy from https://pypi.python.org/packages/2.7/k/konlpy/konlpy-0.4.2-py2.py3-none-any.whl#md5=2b9b2c74d333f1266ee24e39074239d9
Downloading konlpy-0.4.2-py2.py3-none-any.whl (22.4MB): 22.4MB downloaded
Downloading/unpacking JPype1>=0.5.7 (from konlpy)
Downloading JPype1-0.5.7.tar.gz (138kB): 138kB downloaded
Running setup.py (path:/tmp/pip_build_root/JPype1/setup.py) egg_info for package JPype1
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/JPype1/setup.py", line 9, in
import exceptions
ImportError: No module named 'exceptions'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/JPype1/setup.py", line 9, in
import exceptions
ImportError: No module named 'exceptions'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/JPype1
Storing debug log for failure in /home/epark/.pip/pip.log
지금은 setup.py 내의 requirements()를 통해 파이썬 2, 3에 각각 requirements.txt, requirements-py3.txt 를 전달해주고 있는데, 일괄적으로 requirements.txt가 전달되고 있는듯합니다.