Python 3.7.9 에서 pip install pecab 을 해 봤는데, dependency 를 설치해주지는 않는 듯한 느낌입니다.
(konlpy) ➜ ~ pip install pecab
Collecting pecab
Downloading pecab-1.0.0.tar.gz (26.4 MB)
|████████████████████████████████| 26.4 MB 9.2 MB/s
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pecab
Building wheel for pecab (setup.py) ... done
Created wheel for pecab: filename=pecab-1.0.0-py3-none-any.whl size=26646317 sha256=4dd93922c85f30fadfc978cdcfee6c3b02869e6266305dcb4e1d4abd448e3020
Stored in directory: /Users/khbyun/Library/Caches/pip/wheels/9d/ac/1f/e81d3e89270f44b2b4e8eb0193cff77fab824d5c74c452ed87
Successfully built pecab
Installing collected packages: pecab
Successfully installed pecab-1.0.0
WARNING: You are using pip version 21.3.1; however, version 22.3.1 is available.
You should consider upgrading via the '/Users/khbyun/work/venv/konlpy/bin/python -m pip install --upgrade pip' command.
(konlpy) ➜ ~ ipython
Python 3.7.9 (default, Feb 15 2021, 12:49:40)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.30.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pecab
tagger = p---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-873e3bfd19f2> in <module>
----> 1 import pecab
~/work/venv/konlpy/lib/python3.7/site-packages/pecab/__init__.py in <module>
----> 1 from pecab._pecab import PeCab
2
3 __ALL__ = [PeCab]
4 __version__ = "1.0.0"
5 __author__ = "Hyunwoong Ko"
~/work/venv/konlpy/lib/python3.7/site-packages/pecab/_pecab.py in <module>
1 from typing import Optional, List
2
----> 3 from pecab._postprocessor import Postprocessor
4 from pecab._tokenizer import Tokenizer
5 from pecab._utils._consts import Type, Tokenization
~/work/venv/konlpy/lib/python3.7/site-packages/pecab/_postprocessor.py in <module>
----> 1 from pecab._tokenizer import Type
2 from pecab._tokens import TokenAttributes
3 from pecab._utils._consts import Pos
4
5
~/work/venv/konlpy/lib/python3.7/site-packages/pecab/_tokenizer.py in <module>
6
7 import numpy as np
----> 8 import pyarrow as pa
9 import unicodedata
10
ModuleNotFoundError: No module named 'pyarrow'
Python 3.7.9 에서
pip install pecab
을 해 봤는데, dependency 를 설치해주지는 않는 듯한 느낌입니다.