jonghwanhyeon / python-mecab-ko Goto Github PK
View Code? Open in Web Editor NEWA python binding for mecab-ko
License: BSD 3-Clause "New" or "Revised" License
A python binding for mecab-ko
License: BSD 3-Clause "New" or "Revised" License
빌드 문제는 해결되었는데요, 이번엔 AssertionError
가 발생하네요.
>>> import mecab
>>> m = mecab.MeCab()
>>> m.parse('학생부종합전형으로는 수시모집 선발인원의 약 58%인 1173명을 선발한다.')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/djlee/workspace/python/mecab-ko-dic/.venv/lib/python3.7/site-packages/mecab/mecab.py", line 62, in parse
for node in lattice
File "/home/djlee/workspace/python/mecab-ko-dic/.venv/lib/python3.7/site-packages/mecab/mecab.py", line 62, in <listcomp>
for node in lattice
File "/home/djlee/workspace/python/mecab-ko-dic/.venv/lib/python3.7/site-packages/mecab/mecab.py", line 33, in _extract_feature
assert len(values) == 8
AssertionError
Originally posted by @dongjinleekr in #9 (comment)
안녕하세요?
설치 후, 테스트를 해보니 아래와 같이 pybind11 type error 발생하는데 도움을 주실 수 있으실까요?
pybind11 은 pybind11-2.7.1-py2.py3-none-any.whl 을 다운 받아 설치 하였습니다.
import mecab
m=mecab.MeCab()
,,,,,,,,,,,, /mecab/mecab.py in init.py(self, dicpath)
51 argument = '-d %s' % dicpath
52
53 self.tagger = _mecab.Tagger(argument)
54
55 def parse(self, sentence):
TypeError: pybind11::init()Lfactory function returned nullptr
windows환경에서 설치가 진행되지 않습니다.
setup에서 Extension에서 발생합니다.
확실하진 않지만 제가 살펴본 바로는
library_dirs, runtime_library_dirs에서의
get_mecab_library_directory()가 원인인 것 같습니다.
오류내용
Traceback (most recent call last):
File "C:/Users/82109/Desktop/pmk/test.py", line 11, in <module>
print(get_mecab_include_directory())
File "C:/Users/82109/Desktop/pmk/test.py", line 10, in get_mecab_include_directory
'mecab-config', '--inc-dir']).decode('utf-8').strip()
File "C:\Users\82109\anaconda3\envs\pmk\lib\subprocess.py", line 411, in check_output
**kwargs).stdout
File "C:\Users\82109\anaconda3\envs\pmk\lib\subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\82109\anaconda3\envs\pmk\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "C:\Users\82109\anaconda3\envs\pmk\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 지정된 파일을 찾을 수 없습니다
install-mecab-ko.py
에서도 오류가 발생합니다.
PermissionError: [WinError 32] 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다: 'C:\\Users\\82109\\AppData\\Local\\Temp\\tmp3ulaknyn'
위의 2개의 오류가 windows에서 설치가 잘 안되는 원인 같습니다.
그리고 위의 오류 2개 다 subprocess
가 원인인 것 같습니다.
어떻게 해결해야 할까요?
아래는 오류 전문입니다.
(pmk) C:\Users\82109\Desktop\pmk>pip install -v python-mecab-ko
Using pip 22.2.2 from C:\Users\82109\anaconda3\envs\pmk\lib\site-packages\pip (pyth
on 3.7)
Collecting python-mecab-ko
Using cached python-mecab-ko-1.0.14.tar.gz (9.6 kB)
Running command python setup.py egg_info
running egg_info
creating C:\Users\82109\AppData\Local\Temp\pip-pip-egg-info-_7lckiqg\python_mecab
_ko.egg-info
writing C:\Users\82109\AppData\Local\Temp\pip-pip-egg-info-_7lckiqg\python_mecab_
ko.egg-info\PKG-INFO
writing dependency_links to C:\Users\82109\AppData\Local\Temp\pip-pip-egg-info-_7
lckiqg\python_mecab_ko.egg-info\dependency_links.txt
writing requirements to C:\Users\82109\AppData\Local\Temp\pip-pip-egg-info-_7lcki
qg\python_mecab_ko.egg-info\requires.txt
writing top-level names to C:\Users\82109\AppData\Local\Temp\pip-pip-egg-info-_7l
ckiqg\python_mecab_ko.egg-info\top_level.txt
writing manifest file 'C:\Users\82109\AppData\Local\Temp\pip-pip-egg-info-_7lckiq
g\python_mecab_ko.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\82109\AppData\Local\Temp\pip-pip-egg-info-_7lckiq
g\python_mecab_ko.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'C:\Users\82109\AppData\Local\Temp\pip-pip-egg-info-_7lckiq
g\python_mecab_ko.egg-info\SOURCES.txt'
Preparing metadata (setup.py) ... done
Requirement already satisfied: pybind11~=2.9.0 in c:\users\82109\anaconda3\envs\pmk
\lib\site-packages (from python-mecab-ko) (2.9.2)
Building wheels for collected packages: python-mecab-ko
Running command python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-37
creating build\lib.win-amd64-cpython-37\mecab
copying mecab\mecab.py -> build\lib.win-amd64-cpython-37\mecab
copying mecab\__init__.py -> build\lib.win-amd64-cpython-37\mecab
running build_ext
building '_mecab' extension
error: [WinError 2] 지정된 파일을 찾을 수 없습니다
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with p
ip.
full command: 'C:\Users\82109\anaconda3\envs\pmk\python.exe' -u -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that direc
tly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py`
so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following wa
rning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'C:\\Users\\82109\\AppData\\Local\\Temp\\pip-install-qfqax
q3z\\python-mecab-ko_926168434e5344e2abc3943fd65de3c5\\setup.py'"'"',), "<pip-setup
tools-caller>", "exec"))' bdist_wheel -d 'C:\Users\82109\AppData\Local\Temp\pip-whe
el-hmnrdlzp'
cwd: C:\Users\82109\AppData\Local\Temp\pip-install-qfqaxq3z\python-mecab-ko_92616
8434e5344e2abc3943fd65de3c5\
Building wheel for python-mecab-ko (setup.py) ... error
ERROR: Failed building wheel for python-mecab-ko
Running setup.py clean for python-mecab-ko
Running command python setup.py clean
running clean
removing 'build\lib.win-amd64-cpython-37' (and everything under it)
'build\bdist.win-amd64' does not exist -- can't clean it
'build\scripts-3.7' does not exist -- can't clean it
removing 'build'
Failed to build python-mecab-ko
Installing collected packages: python-mecab-ko
Running command Running setup.py install for python-mecab-ko
running install
C:\Users\82109\anaconda3\envs\pmk\lib\site-packages\setuptools\command\install.py
:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pi
p and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Installing mecab-ko...
Traceback (most recent call last):
File "C:\Users\82109\AppData\Local\Temp\pip-install-qfqaxq3z\python-mecab-ko_92
6168434e5344e2abc3943fd65de3c5\scripts\install-mecab-ko.py", line 72, in install
download(url)
File "C:\Users\82109\AppData\Local\Temp\pip-install-qfqaxq3z\python-mecab-ko_92
6168434e5344e2abc3943fd65de3c5\scripts\install-mecab-ko.py", line 53, in download
], check=True)
File "C:\Users\82109\anaconda3\envs\pmk\lib\subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\82109\anaconda3\envs\pmk\lib\subprocess.py", line 800, in __init
__
restore_signals, start_new_session)
File "C:\Users\82109\anaconda3\envs\pmk\lib\subprocess.py", line 1207, in _exec
ute_child
startupinfo)
FileNotFoundError: [WinError 2] 지정된 파일을 찾을 수 없습니다
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\82109\AppData\Local\Temp\pip-install-qfqaxq3z\python-mecab-ko_92
6168434e5344e2abc3943fd65de3c5\scripts\install-mecab-ko.py", line 80, in <module>
'--enable-utf8-only')
File "C:\Users\82109\AppData\Local\Temp\pip-install-qfqaxq3z\python-mecab-ko_92
6168434e5344e2abc3943fd65de3c5\scripts\install-mecab-ko.py", line 74, in install
make()
File "C:\Users\82109\anaconda3\envs\pmk\lib\tempfile.py", line 807, in __exit__
self.cleanup()
File "C:\Users\82109\anaconda3\envs\pmk\lib\tempfile.py", line 811, in cleanup
_shutil.rmtree(self.name)
File "C:\Users\82109\anaconda3\envs\pmk\lib\shutil.py", line 516, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Users\82109\anaconda3\envs\pmk\lib\shutil.py", line 404, in _rmtree_un
safe
onerror(os.rmdir, path, sys.exc_info())
File "C:\Users\82109\anaconda3\envs\pmk\lib\shutil.py", line 402, in _rmtree_un
safe
os.rmdir(path)
PermissionError: [WinError 32] 다른 프로세스가 파일을 사용 중이기 때문에 프로세스
가 액세스 할 수 없습니다: 'C:\\Users\\82109\\AppData\\Local\\Temp\\tmpijx2pskb'
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\82109\AppData\Local\Temp\pip-install-qfqaxq3z\python-mecab-ko_92
6168434e5344e2abc3943fd65de3c5\setup.py", line 179, in <module>
'build_ext': BuildExtensionCommand
File "C:\Users\82109\anaconda3\envs\pmk\lib\site-packages\setuptools\__init__.p
y", line 87, in setup
return distutils.core.setup(**attrs)
File "C:\Users\82109\anaconda3\envs\pmk\lib\site-packages\setuptools\_distutils
\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\82109\anaconda3\envs\pmk\lib\site-packages\setuptools\_distutils
\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\82109\anaconda3\envs\pmk\lib\site-packages\setuptools\_distutils
\dist.py", line 973, in run_commands
self.run_command(cmd)
File "C:\Users\82109\anaconda3\envs\pmk\lib\site-packages\setuptools\dist.py",
line 1217, in run_command
super().run_command(command)
File "C:\Users\82109\anaconda3\envs\pmk\lib\site-packages\setuptools\_distutils
\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\82109\AppData\Local\Temp\pip-install-qfqaxq3z\python-mecab-ko_92
6168434e5344e2abc3943fd65de3c5\setup.py", line 76, in run
self.install_mecab()
File "C:\Users\82109\AppData\Local\Temp\pip-install-qfqaxq3z\python-mecab-ko_92
6168434e5344e2abc3943fd65de3c5\setup.py", line 85, in install_mecab
cwd=scripts_directory)
File "C:\Users\82109\anaconda3\envs\pmk\lib\subprocess.py", line 363, in check_
call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\82109\\anaconda3\\envs\\pmk\
\python.exe', 'C:\\Users\\82109\\AppData\\Local\\Temp\\pip-install-qfqaxq3z\\python
-mecab-ko_926168434e5344e2abc3943fd65de3c5\\scripts\\install-mecab-ko.py']' returne
d non-zero exit status 1.
error: subprocess-exited-with-error
× Running setup.py install for python-mecab-ko did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with p
ip.
full command: 'C:\Users\82109\anaconda3\envs\pmk\python.exe' -u -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that direc
tly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py`
so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following wa
rning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'C:\\Users\\82109\\AppData\\Local\\Temp\\pip-install-qfqax
q3z\\python-mecab-ko_926168434e5344e2abc3943fd65de3c5\\setup.py'"'"',), "<pip-setup
tools-caller>", "exec"))' install --record 'C:\Users\82109\AppData\Local\Temp\pip-r
ecord-qsmv3oqf\install-record.txt' --single-version-externally-managed --compile --
install-headers 'C:\Users\82109\anaconda3\envs\pmk\Include\python-mecab-ko'
cwd: C:\Users\82109\AppData\Local\Temp\pip-install-qfqaxq3z\python-mecab-ko_92616
8434e5344e2abc3943fd65de3c5\
Running setup.py install for python-mecab-ko ... error
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> python-mecab-ko
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Docker 안에서 conda를 이용하여 가상환경을 구축하여 사용하고 있습니다만, 설치가 되지 않는 것을 확인하였습니다.
메시지를 추적한 결과
building '_mecab' extension
error: [Errno 2] No such file or directory: '/opt/conda/bin/mecab-config': '/opt/conda/bin/mecab-config'
error
ERROR: Failed building wheel for python-mecab-ko
부터 오류가 발생하는 것으로 보입니다. 해결 방안을 알려주신다면 감사드리겠습니다.
안녕하세요,
좋은 라이브러리를 만들어주셔서 감사합니다.
다만 제가 사용하는 와중에 에러가 발생해서 문의드립니다.
import mecab
mecab = mecab.MeCab()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/ipykernel_31265/2337645710.py in <module>
1 import mecab
----> 2 mecab = mecab.MeCab()
~/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/mecab/mecab.py in __init__(self, dicpath)
51 argument = '-d %s' % dicpath
52
---> 53 self.tagger = _mecab.Tagger(argument)
54
55 def parse(self, sentence):
TypeError: pybind11::init(): factory function returned nullptr
가상환경에 pip install -v python-mecab-ko
명령어를 입력했고 설치 메세지를 하단에 첨부하였습니다.
ERROR: Failed building wheel for python-mecab-ko
부분이 해당 에러와 연관이 있을까요?
Collecting python-mecab-ko
Downloading python-mecab-ko-1.0.12.tar.gz (9.7 kB)
Running command python setup.py egg_info
running egg_info
creating /private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-pip-egg-info-x1pa9x7e/python_mecab_ko.egg-info
writing /private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-pip-egg-info-x1pa9x7e/python_mecab_ko.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-pip-egg-info-x1pa9x7e/python_mecab_ko.egg-info/dependency_links.txt
writing requirements to /private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-pip-egg-info-x1pa9x7e/python_mecab_ko.egg-info/requires.txt
writing top-level names to /private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-pip-egg-info-x1pa9x7e/python_mecab_ko.egg-info/top_level.txt
writing manifest file '/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-pip-egg-info-x1pa9x7e/python_mecab_ko.egg-info/SOURCES.txt'
reading manifest file '/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-pip-egg-info-x1pa9x7e/python_mecab_ko.egg-info/SOURCES.txt'
writing manifest file '/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-pip-egg-info-x1pa9x7e/python_mecab_ko.egg-info/SOURCES.txt'
Collecting pybind11~=2.0
Downloading pybind11-2.8.1-py2.py3-none-any.whl (208 kB)
|████████████████████████████████| 208 kB 10.8 MB/s
Building wheels for collected packages: python-mecab-ko
Running command /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py'"'"'; __file__='"'"'/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-wheel-qd42g16i
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-3.8
creating build/lib.macosx-10.15-x86_64-3.8/mecab
copying mecab/mecab.py -> build/lib.macosx-10.15-x86_64-3.8/mecab
copying mecab/__init__.py -> build/lib.macosx-10.15-x86_64-3.8/mecab
running build_ext
creating var
creating var/folders
creating var/folders/f8
creating var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn
creating var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c /var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/tmpw5_bo5mq.cpp -o var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/tmpw5_bo5mq.o -std=c++14
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c /var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/tmpqpy_i80_.cpp -o var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/tmpqpy_i80_.o -fvisibility=hidden
building '_mecab' extension
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py", line 127, in <module>
setup(
File "/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py", line 43, in build_extensions
super().build_extensions()
File "/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 205, in build_extension
_build_ext.build_extension(self, ext)
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/ccompiler.py", line 565, in compile
self._setup_compile(output_dir, macros, include_dirs, sources,
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/ccompiler.py", line 341, in _setup_compile
pp_opts = gen_preprocess_options(macros, incdirs)
File "/Users/noopy/.pyenv/versions/3.8.3/lib/python3.8/distutils/ccompiler.py", line 1076, in gen_preprocess_options
pp_opts.append("-I%s" % dir)
File "/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py", line 95, in __str__
return func(*self.args, **self.kwargs)
File "/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py", line 108, in get_pybind_include
import pybind11
ModuleNotFoundError: No module named 'pybind11'
Building wheel for python-mecab-ko (setup.py) ... error
ERROR: Failed building wheel for python-mecab-ko
Running setup.py clean for python-mecab-ko
Running command /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py'"'"'; __file__='"'"'/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
running clean
removing 'build/lib.macosx-10.15-x86_64-3.8' (and everything under it)
'build/bdist.macosx-10.15-x86_64' does not exist -- can't clean it
'build/scripts-3.8' does not exist -- can't clean it
removing 'build'
Failed to build python-mecab-ko
Installing collected packages: pybind11, python-mecab-ko
changing mode of /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/bin/pybind11-config to 755
Running command /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py'"'"'; __file__='"'"'/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-install-ebh7m4yr/python-mecab-ko_c9a1e70c8f7a40478847d2da0decfe64/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-record-a4g5xbwc/install-record.txt --single-version-externally-managed --compile --install-headers /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include/site/python3.8/python-mecab-ko
running install
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-3.8
creating build/lib.macosx-10.15-x86_64-3.8/mecab
copying mecab/mecab.py -> build/lib.macosx-10.15-x86_64-3.8/mecab
copying mecab/__init__.py -> build/lib.macosx-10.15-x86_64-3.8/mecab
running build_ext
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c /var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/tmp_9tfjp0a.cpp -o var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/tmp_9tfjp0a.o -std=c++14
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c /var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/tmp6csgssk3.cpp -o var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/tmp6csgssk3.o -fvisibility=hidden
building '_mecab' extension
creating build/temp.macosx-10.15-x86_64-3.8
creating build/temp.macosx-10.15-x86_64-3.8/mecab
creating build/temp.macosx-10.15-x86_64-3.8/mecab/pybind
creating build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/usr/local/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c mecab/pybind/_mecab/node.cpp -o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/node.o -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="1.0.12" -std=c++14 -fvisibility=hidden
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/usr/local/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c mecab/pybind/_mecab/path.cpp -o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/path.o -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="1.0.12" -std=c++14 -fvisibility=hidden
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/usr/local/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c mecab/pybind/_mecab/lattice.cpp -o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/lattice.o -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="1.0.12" -std=c++14 -fvisibility=hidden
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/usr/local/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c mecab/pybind/_mecab/dictionaryinfo.cpp -o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/dictionaryinfo.o -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="1.0.12" -std=c++14 -fvisibility=hidden
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/usr/local/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c mecab/pybind/_mecab/tagger.cpp -o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/tagger.o -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="1.0.12" -std=c++14 -fvisibility=hidden
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/pybind11/include -I/usr/local/include -I/Users/noopy/.pyenv/versions/3.8.3/envs/aitech/include -I/Users/noopy/.pyenv/versions/3.8.3/include/python3.8 -c mecab/pybind/_mecab/_mecab.cpp -o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/_mecab.o -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="1.0.12" -std=c++14 -fvisibility=hidden
clang++ -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/noopy/.pyenv/versions/3.8.3/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/noopy/.pyenv/versions/3.8.3/lib build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/node.o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/path.o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/lattice.o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/dictionaryinfo.o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/tagger.o build/temp.macosx-10.15-x86_64-3.8/mecab/pybind/_mecab/_mecab.o -L/usr/local/lib -L/usr/local/lib -lmecab -o build/lib.macosx-10.15-x86_64-3.8/_mecab.cpython-38-darwin.so
running install_lib
copying build/lib.macosx-10.15-x86_64-3.8/_mecab.cpython-38-darwin.so -> /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages
creating /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/mecab
copying build/lib.macosx-10.15-x86_64-3.8/mecab/mecab.py -> /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/mecab
copying build/lib.macosx-10.15-x86_64-3.8/mecab/__init__.py -> /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/mecab
byte-compiling /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/mecab/mecab.py to mecab.cpython-38.pyc
byte-compiling /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/mecab/__init__.py to __init__.cpython-38.pyc
running install_data
creating /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/scripts
copying scripts/install-mecab-ko.py -> /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/scripts
running install_egg_info
running egg_info
writing python_mecab_ko.egg-info/PKG-INFO
writing dependency_links to python_mecab_ko.egg-info/dependency_links.txt
writing requirements to python_mecab_ko.egg-info/requires.txt
writing top-level names to python_mecab_ko.egg-info/top_level.txt
reading manifest file 'python_mecab_ko.egg-info/SOURCES.txt'
writing manifest file 'python_mecab_ko.egg-info/SOURCES.txt'
Copying python_mecab_ko.egg-info to /Users/noopy/.pyenv/versions/3.8.3/envs/aitech/lib/python3.8/site-packages/python_mecab_ko-1.0.12-py3.8.egg-info
running install_scripts
writing list of installed files to '/private/var/folders/f8/9hn0rsx125vf87jp8_skr1l40000gn/T/pip-record-a4g5xbwc/install-record.txt'
Running setup.py install for python-mecab-ko ... done
DEPRECATION: python-mecab-ko was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
Successfully installed pybind11-2.8.1 python-mecab-ko-1.0.12
Lines 49 to 52 in 5af8335
이는 권장되지 않는 방식으로 시스템 라이브러리 설치는 따로 분리하여 별도로 실행할 수 있도록 하는 것이 좋겠습니다.
보안 문제가 있을 수 있으며, 이미 해당 시스템 라이브러리가 설치 되어 있는 장치에서는 충돌이 발생할 수 있습니다. (mecab-config
명령어를 통해서 설치여부를 확인하나 사용자가 PATH에 (의도했든 안 했든) 등록 안 했을 수 있습니다.)
Dear maintainers, when I tried to install pip install python-mecab-ko
in a virtualenv with pyenv, I have received the following errors:
shun.liang@B-1170 ~/mecab-ko-test pyenv --version
pyenv 1.2.16
shun.liang@B-1170 ~/mecab-ko-test pyenv virtualenv 3.6.8 mecab-ko-test
Using base prefix '/Users/shun.liang/.pyenv/versions/3.6.8'
New python executable in /Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/bin/python3.6
Also creating executable in /Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/bin/python
Installing setuptools, pip, wheel...
done.
Looking in links: /var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/tmp46dhgc65
Requirement already satisfied: setuptools in /Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/lib/python3.6/site-packages (45.2.0)
Requirement already satisfied: pip in /Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/lib/python3.6/site-packages (20.0.2)
shun.liang@B-1170 ~/mecab-ko-test pyenv activate mecab-ko-test
pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
(mecab-ko-test) shun.liang@B-1170 ~/mecab-ko-test pip install python-mecab-ko
Looking in indexes: https://pypi.org/simple, <redacted>
Collecting python-mecab-ko
Using cached python-mecab-ko-1.0.8.tar.gz (6.7 kB)
Collecting pybind11~=2.0
Using cached pybind11-2.4.3-py2.py3-none-any.whl (150 kB)
Building wheels for collected packages: python-mecab-ko
Building wheel for python-mecab-ko (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py'"'"'; __file__='"'"'/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-wheel-qwpi5ati
cwd: /private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/
Complete output (66 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-3.6
creating build/lib.macosx-10.13-x86_64-3.6/mecab
copying mecab/mecab.py -> build/lib.macosx-10.13-x86_64-3.6/mecab
copying mecab/__init__.py -> build/lib.macosx-10.13-x86_64-3.6/mecab
running build_ext
creating var
creating var/folders
creating var/folders/gj
creating var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr
creating var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/shun.liang/.pyenv/versions/3.6.8/include/python3.6m -c /var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/tmp4ps69iwa.cpp -o var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/tmp4ps69iwa.o -std=c++14
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/shun.liang/.pyenv/versions/3.6.8/include/python3.6m -c /var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/tmp_8bky15n.cpp -o var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/tmp_8bky15n.o -fvisibility=hidden
building '_mecab' extension
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py", line 178, in <module>
'build_ext': BuildExtensionCommand
File "/Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 87, in run
_build_ext.run(self)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py", line 42, in build_extensions
super().build_extensions()
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
depends=ext.depends)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/ccompiler.py", line 566, in compile
depends, extra_postargs)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/ccompiler.py", line 341, in _setup_compile
pp_opts = gen_preprocess_options(macros, incdirs)
File "/Users/shun.liang/.pyenv/versions/3.6.8/lib/python3.6/distutils/ccompiler.py", line 1075, in gen_preprocess_options
pp_opts.append("-I%s" % dir)
File "/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py", line 94, in __str__
return func(*self.args, **self.kwargs)
File "/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py", line 107, in get_pybind_include
import pybind11
ModuleNotFoundError: No module named 'pybind11'
----------------------------------------
ERROR: Failed building wheel for python-mecab-ko
Running setup.py clean for python-mecab-ko
Failed to build python-mecab-ko
Installing collected packages: pybind11, python-mecab-ko
Running setup.py install for python-mecab-ko ... error
ERROR: Command errored out with exit status 1:
command: /Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py'"'"'; __file__='"'"'/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-record-z0z4pbay/install-record.txt --single-version-externally-managed --compile --install-headers /Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/include/site/python3.6/python-mecab-ko
cwd: /private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/
Complete output (13 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-3.6
creating build/lib.macosx-10.13-x86_64-3.6/mecab
copying mecab/mecab.py -> build/lib.macosx-10.13-x86_64-3.6/mecab
copying mecab/__init__.py -> build/lib.macosx-10.13-x86_64-3.6/mecab
running build_ext
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/shun.liang/.pyenv/versions/3.6.8/include/python3.6m -c /var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/tmp424r_q5w.cpp -o var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/tmp424r_q5w.o -std=c++14
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/shun.liang/.pyenv/versions/3.6.8/include/python3.6m -c /var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/tmp2ymetpou.cpp -o var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/tmp2ymetpou.o -fvisibility=hidden
building '_mecab' extension
error: [Errno 2] No such file or directory: '/Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/bin/mecab-config': '/Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/bin/mecab-config'
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py'"'"'; __file__='"'"'/private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-install-ofc9hnz1/python-mecab-ko/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/gj/ynfp5z3x2g32ypkwvjq34699y7tntr/T/pip-record-z0z4pbay/install-record.txt --single-version-externally-managed --compile --install-headers /Users/shun.liang/.pyenv/versions/3.6.8/envs/mecab-ko-test/include/site/python3.6/python-mecab-ko Check the logs for full command output.
It seems there are two source of problems:
pybind11
cannot be found.install-mecab-ko.py
script tries to find mecab-config
under sys.config
's bin
, but if Python is run within a virtualenv, then sys.prefix
won't be the default /user/local
.Can I ask if you are able to advise? Many thanks.
Hi, I use OS X 10.11 with Python 3.10.11 and everything works fine for python-mecab-ko
1.3.3. But after upgrading to python-mecab-ko
1.3.5, an error occurs on import mecab
:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mecab/__init__.py", line 1, in <module>
from .mecab import MeCab, MeCabError, mecabrc_path
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mecab/mecab.py", line 8, in <module>
import _mecab
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_mecab.cpython-310-darwin.so, 2): Library not loaded: @loader_path/mecab/.dylibs/libmecab.2.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_mecab.cpython-310-darwin.so
Reason: no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mecab/.dylibs/libmecab.2.dylib: cannot load 'libmecab.2.dylib' (load command 0x80000034 is unknown)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mecab/.dylibs/libmecab.2.dylib: cannot load 'libmecab.2.dylib' (load command 0x80000034 is unknown)
There are also some issues when running tests on CI (Github Actions and Azure Pipelines) with macOS 11:
../../../hostedtoolcache/Python/3.10.13/x64/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/tests_nlp/tests_spacy/test_spacy_eng.py:19: in <module>
from tests.tests_nlp.tests_spacy import test_spacy
tests/tests_nlp/tests_spacy/test_spacy.py:19: in <module>
from tests import wl_test_init, wl_test_lang_examples
tests/wl_test_init.py:[29](https://github.com/BLKSerene/Wordless/actions/runs/9136231662/job/25124740125#step:5:30): in <module>
from tests import wl_test_file_area
tests/wl_test_file_area.py:28: in <module>
from wordless import wl_file_area
wordless/wl_file_area.py:38: in <module>
from wordless.wl_checks import wl_checks_files, wl_checks_misc
wordless/wl_checks/wl_checks_files.py:24: in <module>
from wordless.wl_checks import wl_checks_work_area
wordless/wl_checks/wl_checks_work_area.py:25: in <module>
from wordless.wl_dialogs import wl_dialogs_errs, wl_msg_boxes
wordless/wl_dialogs/wl_dialogs_errs.py:23: in <module>
from wordless.wl_widgets import wl_labels, wl_tables
wordless/wl_widgets/wl_tables.py:37: in <module>
from wordless.wl_nlp import wl_nlp_utils
wordless/wl_nlp/wl_nlp_utils.py:[31](https://github.com/BLKSerene/Wordless/actions/runs/9136231662/job/25124740125#step:5:32): in <module>
import mecab
../../../hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/mecab/__init__.py:1: in <module>
from .mecab import MeCab, MeCabError, mecabrc_path
../../../hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/mecab/mecab.py:8: in <module>
import _mecab
E ImportError: dlopen(/Users/runner/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/_mecab.cpython-310-darwin.so, 2): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
E Referenced from: /Users/runner/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/mecab/.dylibs/libmecab.2.dylib (which was built for Mac OS X 13.0)
E Expected in: /usr/lib/libc++.1.dylib
It works with Xcode 14.1 on CI.
Hi,
The original mecab-ko returns many features, but this repo and konlpy extract only the first one, POS tag.
I guess it's useful if you add a method that returns all the features like this:
def analyze(self, sentence):
lattice = _create_lattice(sentence)
if not self.tagger.parse(lattice):
raise MeCabError(self.tagger.what())
return [
(node.surface, node.feature)
for node in lattice
]
GCP AI Platform에서 제공하는 리눅스 최신 버전(4.19.0-13-cloud-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux)에서 실행이 되지 않습니다. 팩키징된 so 파일은 물론, 직접 소스를 내려 받아 빌드해도 빌드할때 오류는 발생하지 않으나 import
시에 undefined symbol: libiconv
오류가 발생합니다.
>>> import mecab
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/conda/lib/python3.7/site-packages/mecab/__init__.py", line 1, in <module>
from .mecab import MeCabError
File "/opt/conda/lib/python3.7/site-packages/mecab/mecab.py", line 1, in <module>
import _mecab
ImportError: /opt/conda/lib/libmecab.so.2: undefined symbol: libiconv
아마 libiconv.so
가 최신 버전에서 통합된 영향을 받지 않나 싶은데, 현재는 동작하지 않고 있습니다.
안녕하세요. macOS Catalina 에서 설치시 아래와 같은 오류가 발생해서 문의드립니다.
OS Version: 10.15.7
python version: 3.7.9
zsh version: 5.8
처음에는 subprocess.run(['./configure', *args], check=True)
명령을 실행하다가 오류가 발생했는데,
brew update && brew upgrade
한 후부터는 아래와 같은 오류가 발생합니다.
building '_mecab' extension
error: [Errno 2] No such file or directory: '/Users/.../python-mecab-ko/.venv/bin/mecab-config': '/Users/.../python-mecab-ko/.venv/bin/mecab-config'
Running setup.py install for python-mecab-ko ... error
ERROR: Command errored out with exit status 1: /Users/.../python-mecab-ko/.venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/t8/bq_crmxj3ml174k1sj_x31k40000gn/T/pip-req-build-s70gt3ui/setup.py'"'"'; __file__='"'"'/private/var/folders/t8/bq_crmxj3ml174k1sj_x31k40000gn/T/pip-req-build-s70gt3ui/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/t8/bq_crmxj3ml174k1sj_x31k40000gn/T/pip-record-qtvmtyuf/install-record.txt --single-version-externally-managed --compile --install-headers /Users/.../python-mecab-ko/.venv/include/site/python3.7/python-mecab-ko Check the logs for full command output.
좋은 라이브러리 제공해주셔서 잘 사용하고 있습니다.
감사의 말씀을 드립니다.
안녕하세요. 다음과 같은 오류가 나오면서 설치가 되지 않아 문의드리고자 글을 올립니다.
pip install -v python-mecab-ko 및 pip install python-mecab-ko 둘 다로 했는데 모두 설치가 되지 않았습니다.
혹시나 해결 방법을 알려주시면 감사하겠습니다.
Using pip 20.3.3 from C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip (python 3.7)
Non-user install because site-packages writeable
Created temporary directory: C:\Users\ppkpp\AppData\Local\Temp\pip-ephem-wheel-cache-lgwyzj0j
Created temporary directory: C:\Users\ppkpp\AppData\Local\Temp\pip-req-tracker-7waftkab
Initialized build tracking at C:\Users\ppkpp\AppData\Local\Temp\pip-req-tracker-7waftkab
Created build tracker: C:\Users\ppkpp\AppData\Local\Temp\pip-req-tracker-7waftkab
Entered build tracker: C:\Users\ppkpp\AppData\Local\Temp\pip-req-tracker-7waftkab
Created temporary directory: C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5
1 location(s) to search for versions of python-mecab-ko:
https://pypi.org/simple/python-mecab-ko/
Fetching project page and analyzing links: https://pypi.org/simple/python-mecab-ko/
Getting page https://pypi.org/simple/python-mecab-ko/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/python-mecab-ko/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/python-mecab-ko/ HTTP/1.1" 304 0
Found link https://files.pythonhosted.org/packages/90/de/6686bfe510090832a3fb2b7335d99285e83af1621022e991e19f298ece65/python-mecab-ko-1.0.0.tar.gz#sha256=e5ceee371907ab1061d31377448e706cf5fd1ad562fa6575372ac63948c2e383 (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.0
Found link https://files.pythonhosted.org/packages/85/62/effd3d6bf0fcc679b103def716f71bba632713057f3ab07757f8172851ec/python-mecab-ko-1.0.1.tar.gz#sha256=d8f67cb2c6f0f16f8b252e922fa818bd9444113dca01b7d30884a4d54fddd632 (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.1
Found link https://files.pythonhosted.org/packages/47/5b/4a3cc03939ad6458c29eef4f4372c0dd11d6777eab0186f5a772ef6fcf75/python-mecab-ko-1.0.2.tar.gz#sha256=a90c86faf9672ba0a96050a4be57beac65cf8fac5a3784dc014a8f7b26754acc (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.2
Found link https://files.pythonhosted.org/packages/5f/34/9a5064bd98097b0562d56ca042a7bd76c43f391d05a335264eb8852857b8/python-mecab-ko-1.0.4.tar.gz#sha256=6f728497aa01c0a91fea3a659fcc97f87275b031ab9c6d71c3e8f572d8af2e02 (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.4
Found link https://files.pythonhosted.org/packages/74/c3/4ffb56ca0b6e6297dab600043684bb38b4aa8cd012dc8b6ccc1cdadbe1d1/python-mecab-ko-1.0.5.tar.gz#sha256=172c6f2e5ad3f162bf3b72867f998dbde1ac0400e65af90bba06a7244b20fa90 (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.5
Found link https://files.pythonhosted.org/packages/ac/7f/88af78847b799099cd97f40a25d7ac18d2a88c1d73c8e9080476f6e86a75/python-mecab-ko-1.0.6.tar.gz#sha256=c7fcfb41e01d617d1253ac69a575eb659e3bbdf9f9cb990d5de134e5025455f8 (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.6
Found link https://files.pythonhosted.org/packages/2e/e6/c50e22b9d4f7d34fa3f7ed5c4ea9df601d30ffc2d351fbf5e98b79793fb0/python-mecab-ko-1.0.7.tar.gz#sha256=4c34424a6c6feccc60608ee94a4cb3e9fa9abee24c69a2c691f18f5acbfe101c (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.7
Found link https://files.pythonhosted.org/packages/a7/39/9236934665f94cdcf2ddddab5dd46628c1c88b709f020cb354a9ac6f18e6/python-mecab-ko-1.0.8.tar.gz#sha256=7d49e82bb64763d1385dad1d08df71aa3e6409c72085ec0846df04d94534830c (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.8
Found link https://files.pythonhosted.org/packages/77/3a/3fb1394dd64143d456b9eb0035029971832c2eeb798a3ede879d3d1a4a01/python-mecab-ko-1.0.9.tar.gz#sha256=2694ced6b004d61188a192703149ad02e07941f5fd52a236f19c2ef4c566e8f5 (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.9
Found link https://files.pythonhosted.org/packages/5f/ba/fbb8acbda76a516fd385643f89429e796bc0dd02ec87aff6f979d9c7c121/python-mecab-ko-1.0.10.tar.gz#sha256=9bb92e73e2623450de89b081f543b00f69c0858191cf1427a522b4fa541c3ba8 (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.10
Found link https://files.pythonhosted.org/packages/1f/1d/9c869b1230dfd12c2fc84cfd307ae76a48f8e218db19feab00ef451a147e/python-mecab-ko-1.0.11.tar.gz#sha256=026afb2a10980438ce2e03061809499885eeab17f6e5f4ccb5e1d83dbcd7d48a (from https://pypi.org/simple/python-mecab-ko/) (requires-python:>=3), version: 1.0.11
Given no hashes to check 11 links for project 'python-mecab-ko': discarding no candidates
Collecting python-mecab-ko
Created temporary directory: C:\Users\ppkpp\AppData\Local\Temp\pip-unpack-n2gbxx4i
Looking up "https://files.pythonhosted.org/packages/1f/1d/9c869b1230dfd12c2fc84cfd307ae76a48f8e218db19feab00ef451a147e/python-mecab-ko-1.0.11.tar.gz" in the cache
Current age based on date: 46391
Ignoring unknown cache-control directive: immutable
Freshness lifetime from max-age: 365000000
The response is "fresh", returning cached response
365000000 > 46391
Using cached python-mecab-ko-1.0.11.tar.gz (8.9 kB)
Added python-mecab-ko from https://files.pythonhosted.org/packages/1f/1d/9c869b1230dfd12c2fc84cfd307ae76a48f8e218db19feab00ef451a147e/python-mecab-ko-1.0.11.tar.gz#sha256=026afb2a10980438ce2e03061809499885eeab17f6e5f4ccb5e1d83dbcd7d48a to build tracker 'C:\Users\ppkpp\AppData\Local\Temp\pip-req-tracker-7waftkab'
Running setup.py (path:C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py) egg_info for package python-mecab-ko
Created temporary directory: C:\Users\ppkpp\AppData\Local\Temp\pip-pip-egg-info-r296s1om
Running command python setup.py egg_info
running egg_info
creating C:\Users\ppkpp\AppData\Local\Temp\pip-pip-egg-info-r296s1om\python_mecab_ko.egg-info
writing C:\Users\ppkpp\AppData\Local\Temp\pip-pip-egg-info-r296s1om\python_mecab_ko.egg-info\PKG-INFO
writing dependency_links to C:\Users\ppkpp\AppData\Local\Temp\pip-pip-egg-info-r296s1om\python_mecab_ko.egg-info\dependency_links.txt
writing requirements to C:\Users\ppkpp\AppData\Local\Temp\pip-pip-egg-info-r296s1om\python_mecab_ko.egg-info\requires.txt
writing top-level names to C:\Users\ppkpp\AppData\Local\Temp\pip-pip-egg-info-r296s1om\python_mecab_ko.egg-info\top_level.txt
writing manifest file 'C:\Users\ppkpp\AppData\Local\Temp\pip-pip-egg-info-r296s1om\python_mecab_ko.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\ppkpp\AppData\Local\Temp\pip-pip-egg-info-r296s1om\python_mecab_ko.egg-info\SOURCES.txt'
writing manifest file 'C:\Users\ppkpp\AppData\Local\Temp\pip-pip-egg-info-r296s1om\python_mecab_ko.egg-info\SOURCES.txt'
Source in c:\users\ppkpp\appdata\local\temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986 has version 1.0.11, which satisfies requirement python-mecab-ko from https://files.pythonhosted.org/packages/1f/1d/9c869b1230dfd12c2fc84cfd307ae76a48f8e218db19feab00ef451a147e/python-mecab-ko-1.0.11.tar.gz#sha256=026afb2a10980438ce2e03061809499885eeab17f6e5f4ccb5e1d83dbcd7d48a
Removed python-mecab-ko from https://files.pythonhosted.org/packages/1f/1d/9c869b1230dfd12c2fc84cfd307ae76a48f8e218db19feab00ef451a147e/python-mecab-ko-1.0.11.tar.gz#sha256=026afb2a10980438ce2e03061809499885eeab17f6e5f4ccb5e1d83dbcd7d48a from build tracker 'C:\Users\ppkpp\AppData\Local\Temp\pip-req-tracker-7waftkab'
1 location(s) to search for versions of pybind11:
https://pypi.org/simple/pybind11/
Fetching project page and analyzing links: https://pypi.org/simple/pybind11/
Getting page https://pypi.org/simple/pybind11/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/pybind11/" in the cache
Request header has "max_age" as 0, cache bypassed
https://pypi.org:443 "GET /simple/pybind11/ HTTP/1.1" 304 0
Found link https://files.pythonhosted.org/packages/df/90/4f0068ca5e0c0ef1d0cbcc1fd4c1ecea664c8b995726c5254619a38baafb/pybind11-1.0-py2.py3-none-any.whl#sha256=b1ab3a180bec0e31a965d4070b25a8df651f90dccc406f1e041f6fb0c20a5a5c (from https://pypi.org/simple/pybind11/), version: 1.0
Found link https://files.pythonhosted.org/packages/ee/1d/75e412725a95ef00226af81a2562956989689df73d374d3fc7eb65edad51/pybind11-1.0.tar.gz#sha256=cdd3249114af4a97120bc72645b209e90fe6c654a6903824ae9e1b6b76dd4f47 (from https://pypi.org/simple/pybind11/), version: 1.0
Found link https://files.pythonhosted.org/packages/91/6d/b0f6fc3f8f4c457dae1f67a0a5f506fee5e8366fe9b41bab62aa48f9abdb/pybind11-1.2-py2.py3-none-any.whl#sha256=b8be7525d8957b009859c5be3121c3f4055878df47b9af4d5987634784bcd8cd (from https://pypi.org/simple/pybind11/), version: 1.2
Found link https://files.pythonhosted.org/packages/3f/29/9a9b11c9ae144ee042502bf81658f9387d1ea7fcbbe09ef84651143d2439/pybind11-1.2.tar.gz#sha256=6e5abc9a4549ca6307b81301a558eb60e2c78028b2f258b1adef9f3b45de738b (from https://pypi.org/simple/pybind11/), version: 1.2
Found link https://files.pythonhosted.org/packages/40/39/1fb04919dbae11ea3b0e3630abc3d0a88cb63cdf4c73e4c2fe2b0ded982e/pybind11-1.3-py2.py3-none-any.whl#sha256=c5d64e962ff7df3d0e1dd94c90f53022b733b24257eb7c39a4057ad7ad96a8df (from https://pypi.org/simple/pybind11/), version: 1.3
Found link https://files.pythonhosted.org/packages/51/1e/d1c8bfd14b98ba27f1c3f9cb2f58c293cb48be32263519ecc6c9eaebaf0a/pybind11-1.3.tar.gz#sha256=c829bb9ff9267917efab027f6f3cb4e4955c50a4c3ebed9f00c58684b2e5a0a0 (from https://pypi.org/simple/pybind11/), version: 1.3
Found link https://files.pythonhosted.org/packages/4b/9c/6551641ee8e216d49129bead63584e0e2f1d18663a171b59bb1a0ab487b2/pybind11-1.4-py2.py3-none-any.whl#sha256=3508dffe1de53217371ff412c9f222b9dd41d04f550c80b79b873cd2979b6316 (from https://pypi.org/simple/pybind11/), version: 1.4
Found link https://files.pythonhosted.org/packages/ec/96/0b5c83253391ce69c4a3629d84c557b3a52998a459361642be011c5a2b62/pybind11-1.4.tar.gz#sha256=8de5625693eb8be4f9ca258b9ec6edd6f7785a02d0552f5a3ffaccf696257bae (from https://pypi.org/simple/pybind11/), version: 1.4
Found link https://files.pythonhosted.org/packages/eb/b6/568b9f2abbede38e2c8b44bec453e0cc31cfc94df291352457b2119cfb14/pybind11-1.5-py2.py3-none-any.whl#sha256=a71817b44fbd7cb720fb6f72bbfac6bc23a191ee4a460beec9da44b3f6130e62 (from https://pypi.org/simple/pybind11/), version: 1.5
Found link https://files.pythonhosted.org/packages/98/cc/4dbe95bcb9636e02e68a5c3b25ee70c65afa7cffb8db886b0d01b3e0be6c/pybind11-1.5.tar.gz#sha256=ea3008865d31d82dabee9a503ac6fd9190a6a390403494414bf9ab5da48e7326 (from https://pypi.org/simple/pybind11/), version: 1.5
Found link https://files.pythonhosted.org/packages/77/0f/102d0cc002e8c4c19421ef971dec0a416d3d5865a8cb3d9078fd0d4c0263/pybind11-1.7-py2.py3-none-any.whl#sha256=fb9814167219e613b2049e849483926ead884f3183a160c50716a376d4a35773 (from https://pypi.org/simple/pybind11/), version: 1.7
Found link https://files.pythonhosted.org/packages/85/e8/d04cafd9b219ad19914045b0037498af07b56eac4604d6953805fe5d8fa3/pybind11-1.7.tar.gz#sha256=b81d4f83fdddf99026deefa1d28c6aa9909cb27edce2667d5babc58eb87d12c5 (from https://pypi.org/simple/pybind11/), version: 1.7
Found link https://files.pythonhosted.org/packages/c3/f0/0f807a990d330f37c6d3de260bad702b16646cd149f1e775a37fb672080c/pybind11-1.8-py2.py3-none-any.whl#sha256=135dae73fab2d5939d00e1967edc7b1232fa0209e1b973ae4a47d21ecc06ac50 (from https://pypi.org/simple/pybind11/), version: 1.8
Found link https://files.pythonhosted.org/packages/6a/6e/e99c47a9317d8c5d17472166d1b87bdbff3fb039842137c7e69f96cd57d5/pybind11-1.8.tar.gz#sha256=a647eb05abfec9a6898af240fb2be98451b1e4e725929d49ed3c45188227bc03 (from https://pypi.org/simple/pybind11/), version: 1.8
Found link https://files.pythonhosted.org/packages/e8/bb/cb21c4b8da28d94df193bd83fe399e13dd38b7eba6fed52546d4fb1c2908/pybind11-1.8.1-py2.py3-none-any.whl#sha256=c839cb0ff625528e060d28dc8a8f58bc8a375f178232e42421b6105e1ce58509 (from https://pypi.org/simple/pybind11/), version: 1.8.1
Found link https://files.pythonhosted.org/packages/89/0b/f3a25633e49be5fae17ed2c7751c8106a08199db70e3c82e8cc043388ba9/pybind11-1.8.1.tar.gz#sha256=358d4b7d8c38cd1dde66064178c6bbaaa2c479a44e67e642820fe0f329a4fff8 (from https://pypi.org/simple/pybind11/), version: 1.8.1
Found link https://files.pythonhosted.org/packages/95/b0/2ba1281231f004c338df8c0fa51c8eaf180aa17c45d1c289b85dc9e6cca3/pybind11-2.0.0rc1-py2.py3-none-any.whl#sha256=3879c94b2876c578bb4cee24360cd3a0b3f5162e1d0dcd924d4aa33d5b003fb2 (from https://pypi.org/simple/pybind11/), version: 2.0.0rc1
Found link https://files.pythonhosted.org/packages/b6/5f/27f7614634c3e1eba1cb381fd16a96d14d89f97bc7d3b93608930679bb74/pybind11-2.0.0rc1.tar.gz#sha256=e6610d1bd774f19fd4ca623be2dece13039a37e309b3508721362be860abc7b7 (from https://pypi.org/simple/pybind11/), version: 2.0.0rc1
Found link https://files.pythonhosted.org/packages/76/97/527abfb09ccb5a95a51bfa8f1383698d27ee7a6f0dbec0e1712ffaf044ce/pybind11-2.0.0-py2.py3-none-any.whl#sha256=ad7f7df25af0bd2c1632de0d932aa69044ba8b31fd9d720f24a6a48205f9cb40 (from https://pypi.org/simple/pybind11/), version: 2.0.0
Found link https://files.pythonhosted.org/packages/a9/83/9905dda4615b3cf84c9e159cd9b70a5b8ccd6ce5c11d920a7fbd865b80b1/pybind11-2.0.0.tar.gz#sha256=4b91934a0495a5ca51d6988c241918562151e7d146b5ee07a03dd08ce6133a07 (from https://pypi.org/simple/pybind11/), version: 2.0.0
Found link https://files.pythonhosted.org/packages/74/3b/459576d99e5230c0e060b8616a240891e176ebd3459381a705eed9081241/pybind11-2.0.1-py2.py3-none-any.whl#sha256=e1437f8ed19465e426ef378d774d236e27c223dccba45f9f67790d2de6429cc4 (from https://pypi.org/simple/pybind11/), version: 2.0.1
Found link https://files.pythonhosted.org/packages/e4/a5/dbf066bf52cb98bcb9c7bc858f8da6658e2972cb2793c3a988fb2420d0a8/pybind11-2.0.1.tar.gz#sha256=1b1a4824aad88b1073fe8dbd21683e1e5228f3ed3b29c2785fbf5dea6bf1063c (from https://pypi.org/simple/pybind11/), version: 2.0.1
Found link https://files.pythonhosted.org/packages/ab/50/3fecb101c9cde13bb842c53c7bb8a8b22ae54a47ac12d02cc16ad4c8a1d6/pybind11-2.1.0-py2.py3-none-any.whl#sha256=a886cc3427749a7a023821f1bd1bfa4d862ec4326cf3700c6d86b9c3bb01df1e (from https://pypi.org/simple/pybind11/), version: 2.1.0
Found link https://files.pythonhosted.org/packages/25/94/cac5a6a5d2a1d0cdbc1c93228d046095db7e8c7d5b98161a1903b3dff0a4/pybind11-2.1.0.tar.gz#sha256=aaa6269ee28819aed1ae815f0eaa87fd1155ef0ada80c4bfeb9ecce1392dc62e (from https://pypi.org/simple/pybind11/), version: 2.1.0
Found link https://files.pythonhosted.org/packages/5d/f4/ebdd28792c8ceb852428b7edf983375cee4cfdae75d6791dcb1b1d43bf7c/pybind11-2.1.1-py2.py3-none-any.whl#sha256=46296035478dd331c4b9f2809a71b8b02c6d473129b7819978badd628f2f93d2 (from https://pypi.org/simple/pybind11/), version: 2.1.1
Found link https://files.pythonhosted.org/packages/db/5d/2b064d0dd2ac7ccb723cda6ef82e5364b0ae0d299dc6532aa11680f001f9/pybind11-2.1.1.tar.gz#sha256=c169a384ea046a1672ac83e9aed30660133e9bad3afd82fa99b794df7b416f6d (from https://pypi.org/simple/pybind11/), version: 2.1.1
Found link https://files.pythonhosted.org/packages/5a/df/4d1d08b4b84446e95ae994e65b12f30971c1015163018eb41c20810c6fa6/pybind11-2.2.0-py2.py3-none-any.whl#sha256=a0b94be592b8ee6cadf947eff6e5ddda1a9ea5cb9a9407cb57c16c111630bd34 (from https://pypi.org/simple/pybind11/), version: 2.2.0
Found link https://files.pythonhosted.org/packages/53/f7/ec2516d75c3d668d5d0fd660a6f7dfeaba5b33e062be7647b2484abbe001/pybind11-2.2.0.tar.gz#sha256=633293dcf135fefd2028a7fee9ef290c7239c34e2b741220ab68c66a46e462c6 (from https://pypi.org/simple/pybind11/), version: 2.2.0
Found link https://files.pythonhosted.org/packages/52/df/c438df9d06a43d4b90a3d0656736e34a992e6bd646a4124310aab02d3eea/pybind11-2.2.1-py2.py3-none-any.whl#sha256=6c907b0c4faa3fd38d13c8bb765d0c9b855bcfc23898bb32847a56ccd47f1f99 (from https://pypi.org/simple/pybind11/), version: 2.2.1
Found link https://files.pythonhosted.org/packages/c9/f7/fc9c44bf088d942c71b04646891034036a63e5bd00daff1c9a377e0f5a9f/pybind11-2.2.1.tar.gz#sha256=a96a924fae6e2721efbf24f47561284fd1ea0b655619a8621c4423036183b824 (from https://pypi.org/simple/pybind11/), version: 2.2.1
Found link https://files.pythonhosted.org/packages/ff/3e/421f90f8d9e7fd43bd4e22781ad04d4ea3d6f4571b73c4e9dca29669a599/pybind11-2.2.2-py2.py3-none-any.whl#sha256=1454f0cb00552365832b1d8a95bb4c5404befd42a496d3b7515b5b47e8c16eec (from https://pypi.org/simple/pybind11/), version: 2.2.2
Found link https://files.pythonhosted.org/packages/c3/70/3a897a3dd7ae8a0a9aa0ad845fe629ff3029507b72e0e92a01d8adfa48af/pybind11-2.2.2.tar.gz#sha256=cbb036a8aad59a199ad672f98813f85c672642c6a67b4ff3868b1d6abc5fae3e (from https://pypi.org/simple/pybind11/), version: 2.2.2
Found link https://files.pythonhosted.org/packages/12/90/0f92a575dc60c8fba6d0c91d6b45abdb1058da9ebed40400cbcfad2ac0a7/pybind11-2.2.3-py2.py3-none-any.whl#sha256=7f2847016313068f6fc24e8996b30345b1b8ceb74de7ea45eb2c0fa9f8fa639d (from https://pypi.org/simple/pybind11/), version: 2.2.3
Found link https://files.pythonhosted.org/packages/95/30/788a5c943f1399e05b52148504dffa7a801ea52eb5bb5cac0cc828306278/pybind11-2.2.3.tar.gz#sha256=87ff3ae777d9326349af5272974581270b2a0909b2392dc0cc57eb28ce23bcc3 (from https://pypi.org/simple/pybind11/), version: 2.2.3
Found link https://files.pythonhosted.org/packages/f2/7c/e71995e59e108799800cb0fce6c4b4927914d7eada0723dd20bae3b51786/pybind11-2.2.4-py2.py3-none-any.whl#sha256=bd68159013d20c79bf79893b174a6ee7f74af740bf60ae731565f5d8d4094403 (from https://pypi.org/simple/pybind11/), version: 2.2.4
Found link https://files.pythonhosted.org/packages/4e/fa/6246f425f2efa06bd7a4e340c5337892dcc3c7738c5c1b7e5f8d21dd3793/pybind11-2.2.4.tar.gz#sha256=642abbbd2948ed5af28e69adfae1535347c7aa9eb0cdab130e20e1f198f8e1cf (from https://pypi.org/simple/pybind11/), version: 2.2.4
Found link https://files.pythonhosted.org/packages/d1/4c/efec6c73d6e37f797aba61f3f52ab734b3ab316e7e0b3011b3e994510d2a/pybind11-2.3.dev0-py2.py3-none-any.whl#sha256=f745135f5825ba6b69d78b69456ccadaee4f552e28b60f5dbc786a17b6832a98 (from https://pypi.org/simple/pybind11/), version: 2.3.dev0
Found link https://files.pythonhosted.org/packages/94/20/af117becbcc6f27c479fc230858b89a52b2755f073248d4343aea5a7bdd6/pybind11-2.3.dev0.tar.gz#sha256=bfb7d572afba3aa1e5f51af7a0bd77890b0de5b5da8b1994e80420c43346ecff (from https://pypi.org/simple/pybind11/), version: 2.3.dev0
Found link https://files.pythonhosted.org/packages/5d/85/c7a8dffda52ce25a8bcfe9a28b6861bdd52da59ae001fdd4173e054b7d9b/pybind11-2.3.0-py2.py3-none-any.whl#sha256=5531dee811310ff02ff69fe4f45feb56d845154ba692b8e4660ae2c478ee313a (from https://pypi.org/simple/pybind11/), version: 2.3.0
Found link https://files.pythonhosted.org/packages/53/bc/0880e869d1a4bfd7954835d67e6d5e2c8a30c3fd6372134a4be79a842a4c/pybind11-2.3.0.tar.gz#sha256=199a915e0f81b5a593d1a13a18f137f59a6111f0049543211d936d26dab34324 (from https://pypi.org/simple/pybind11/), version: 2.3.0
Found link https://files.pythonhosted.org/packages/c4/54/b96d9e28f01c3436db5a49db0c47a53b29a065807e9847a4f1ab673aeabf/pybind11-2.4.0-py2.py3-none-any.whl#sha256=7aa30da60db5d23dac85713e07d52136ec33045b8a2d95a0457abef26a0d52eb (from https://pypi.org/simple/pybind11/), version: 2.4.0
Found link https://files.pythonhosted.org/packages/fc/47/a2ace43e64cea34f108a010024f5e7737926d84ad1e8b3dffc56b63be40e/pybind11-2.4.0.tar.gz#sha256=370ad932d373ecb502a7fb96eddfea08e127f936f46da688fd2a4a30291e1495 (from https://pypi.org/simple/pybind11/), version: 2.4.0
Found link https://files.pythonhosted.org/packages/2e/5b/ed0822d84c546e5b3e0e84328134b1d56abe779011818eee6d0c52914c88/pybind11-2.4.1-py2.py3-none-any.whl#sha256=195cda286aba9593af4706acf83e30763f4aa0730a521809cdbb174adfb81b4c (from https://pypi.org/simple/pybind11/), version: 2.4.1
Found link https://files.pythonhosted.org/packages/70/10/de03d0e5be32450b01d6d41343e1c29643135d2c281b70a595c6212a245e/pybind11-2.4.1.tar.gz#sha256=23eb4ad1af0f875ac6450c816fafef2cb24286d5f3a9bcb48ffd400c31fb6877 (from https://pypi.org/simple/pybind11/), version: 2.4.1
Found link https://files.pythonhosted.org/packages/88/c1/0b28ec6f7d0151eebd36c66d3c7dbaa82b5006cc9d25980b5b56cf1034f1/pybind11-2.4.2-py2.py3-none-any.whl#sha256=570c709647292a6a7aa4a4c4a32e9a3304f1fca73d7be35bba1377a32ee80bcb (from https://pypi.org/simple/pybind11/), version: 2.4.2
Found link https://files.pythonhosted.org/packages/9a/03/4da4c13240fd5dc0384164bb34c0fa9b197fc3eb879b4b760508ab2c7900/pybind11-2.4.2.tar.gz#sha256=3942fb56b3f159720cba83a59cc3388dca91f6c6b963f6ec8f6d8bf4a1551650 (from https://pypi.org/simple/pybind11/), version: 2.4.2
Found link https://files.pythonhosted.org/packages/4b/4d/ae1c4d8e8b139afa9682054dd42df3b0e3b5c1731287933021b9fd7e9cc4/pybind11-2.4.3-py2.py3-none-any.whl#sha256=06398d054acd33d3b89d4b12000fadc36e946001438425a96c9e30048655ab96 (from https://pypi.org/simple/pybind11/), version: 2.4.3
Found link https://files.pythonhosted.org/packages/aa/91/deb6743e79e22ab01502296570b39b8404f10cc507a6692d612a7fee8d51/pybind11-2.4.3.tar.gz#sha256=72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758 (from https://pypi.org/simple/pybind11/), version: 2.4.3
Found link https://files.pythonhosted.org/packages/89/e3/d576f6f02bc75bacbc3d42494e8f1d063c95617d86648dba243c2cb3963e/pybind11-2.5.0-py2.py3-none-any.whl#sha256=205d9f9615eac190811cb8c3c2b2f95f6844ddba0fa0a1d45d00793338741601 (from https://pypi.org/simple/pybind11/), version: 2.5.0
Found link https://files.pythonhosted.org/packages/56/cf/efb853937e69168a215a70c049b66b2e8aea3b9a1929f9650752d7ff1f32/pybind11-2.5.0.tar.gz#sha256=ea5a4e7a880112915463826f1acbec5892df36dfe102ecb249229ac514fb54ad (from https://pypi.org/simple/pybind11/), version: 2.5.0
Found link https://files.pythonhosted.org/packages/38/34/7f114785632b0e37341de39e332cd2dcb62fc6b60991ce7e25b6b2668bff/pybind11-2.6.0b1-py2.py3-none-any.whl#sha256=20b43564ea2854d0b0a58031f16a945a9e177dfd9a14de6926eaa84e65752d3e (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0b1
Found link https://files.pythonhosted.org/packages/6d/ac/5feda51a305a74ce4f8d6de09de3d8b40e58e72750181fc389b9ff45d215/pybind11-2.6.0b1.tar.gz#sha256=620d7b6f60d7d8fa1f3ea869484950eeae439dae1d3fff118e93cc05e0a52fae (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0b1
Found link https://files.pythonhosted.org/packages/56/df/e4e5da73e024c57fa6d355f2d8daed40641ac1b8c83cb2785874e591efa1/pybind11-2.6.0rc1-py2.py3-none-any.whl#sha256=471c5dec187659fc93de80c52198b00750aaa9f6f9121871c9aff36426910227 (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0rc1
Found link https://files.pythonhosted.org/packages/76/0c/4b99047c778bedb9a421ef2bcd2411935bc3ee238e60ecbf56a140877aaf/pybind11-2.6.0rc1.tar.gz#sha256=7ba9f43b2d7272c0e9ef95f646b784bfc3846a43cafbb174c40599281cc746b7 (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0rc1
Found link https://files.pythonhosted.org/packages/7f/75/4e76b04fe24ca5fba19ee1691305232c080395cf49ae55fb5f2e32b95416/pybind11-2.6.0rc2-py2.py3-none-any.whl#sha256=c8be6893b88b4c23acf09e3789a2d883abf2475658ba3880b8b3600ad49e215b (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0rc2
Found link https://files.pythonhosted.org/packages/7a/32/a698ba4f25d5ab0eb450f8c387949315f0ad91eba555d7f37079639291ae/pybind11-2.6.0rc2.tar.gz#sha256=f9ba20fee8660f906b190dc45cb15acc47ae42576d1a2b5b354447cf8314c4ba (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0rc2
Found link https://files.pythonhosted.org/packages/fb/55/15c31b01a7905911e10b085394e9d40a2c2707a47e148ba099e9b7077a31/pybind11-2.6.0rc3-py2.py3-none-any.whl#sha256=a476244dc96920320df0149ddabec827fee93bbd44dd2953225a0b63f74a4c3c (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0rc3
Found link https://files.pythonhosted.org/packages/ec/96/bc203a96726a6c7bdf53e0c3bbf1a2f64c14d2c901c73eecebfe4961e814/pybind11-2.6.0rc3.tar.gz#sha256=5473b68eac2bf4e488fffb4120324e927faf3777556d9752b94f5b6667af5aa4 (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0rc3
Found link https://files.pythonhosted.org/packages/92/a5/796ccb611a92cbdf1f6eaa9b2ec9458d5784a7b909efdf8e8afaa3861783/pybind11-2.6.0-py2.py3-none-any.whl#sha256=4ddeee54adf844ce44801c32a61e1863dd79283a5ce7afbb96e05fe61fa1fd7d (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0
Found link https://files.pythonhosted.org/packages/9a/36/3a9de7b56e0b01689d9ca4658701d12941069940f8a1431597a48dbc53fa/pybind11-2.6.0.tar.gz#sha256=4107de1fd612bf52953fd64dab7f94f11d2ab3548e1b761cbf8ebc87a2480912 (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.0
Found link https://files.pythonhosted.org/packages/00/84/fc9dc13ee536ba5e6b8fd10ce368fea5b738fe394c3b296cde7c9b144a92/pybind11-2.6.1-py2.py3-none-any.whl#sha256=c3691da74b670a4850dec30c1145a0dad53a50eeca78b7e7cdc855b5c98fd32d (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.1
Found link https://files.pythonhosted.org/packages/d8/47/2eb4be23fa8cc1a08c855c012c1aa4348d06ab1a5527f876515bbf689644/pybind11-2.6.1.tar.gz#sha256=ab7e60a520fe6ae25eca939191bb2ac416cd58478ce754740238a8bf1af18934 (from https://pypi.org/simple/pybind11/) (requires-python:!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,>=2.7), version: 2.6.1
Given no hashes to check 34 links for project 'pybind11': discarding no candidates
Collecting pybind11~=2.0
Created temporary directory: C:\Users\ppkpp\AppData\Local\Temp\pip-unpack-5bcdwcqt
Looking up "https://files.pythonhosted.org/packages/00/84/fc9dc13ee536ba5e6b8fd10ce368fea5b738fe394c3b296cde7c9b144a92/pybind11-2.6.1-py2.py3-none-any.whl" in the cache
Current age based on date: 46392
Ignoring unknown cache-control directive: immutable
Freshness lifetime from max-age: 365000000
The response is "fresh", returning cached response
365000000 > 46392
Using cached pybind11-2.6.1-py2.py3-none-any.whl (188 kB)
Added pybind11~=2.0 from https://files.pythonhosted.org/packages/00/84/fc9dc13ee536ba5e6b8fd10ce368fea5b738fe394c3b296cde7c9b144a92/pybind11-2.6.1-py2.py3-none-any.whl#sha256=c3691da74b670a4850dec30c1145a0dad53a50eeca78b7e7cdc855b5c98fd32d (from python-mecab-ko) to build tracker 'C:\Users\ppkpp\AppData\Local\Temp\pip-req-tracker-7waftkab'
Removed pybind11~=2.0 from https://files.pythonhosted.org/packages/00/84/fc9dc13ee536ba5e6b8fd10ce368fea5b738fe394c3b296cde7c9b144a92/pybind11-2.6.1-py2.py3-none-any.whl#sha256=c3691da74b670a4850dec30c1145a0dad53a50eeca78b7e7cdc855b5c98fd32d (from python-mecab-ko) from build tracker 'C:\Users\ppkpp\AppData\Local\Temp\pip-req-tracker-7waftkab'
Created temporary directory: C:\Users\ppkpp\AppData\Local\Temp\pip-unpack-nkac86wg
Building wheels for collected packages: python-mecab-ko
Created temporary directory: C:\Users\ppkpp\AppData\Local\Temp\pip-wheel-x4_43hyl
Building wheel for python-mecab-ko (setup.py) ... Destination directory: C:\Users\ppkpp\AppData\Local\Temp\pip-wheel-x4_43hyl
Running command 'C:\Users\ppkpp\anaconda3\envs\test\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"'; file='"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ppkpp\AppData\Local\Temp\pip-wheel-x4_43hyl'
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\mecab
copying mecab\mecab.py -> build\lib.win-amd64-3.7\mecab
copying mecab_init_.py -> build\lib.win-amd64-3.7\mecab
running build_ext
building '_mecab' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
error
ERROR: Failed building wheel for python-mecab-ko
Running setup.py clean for python-mecab-ko
Running command 'C:\Users\ppkpp\anaconda3\envs\test\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"'; file='"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' clean --all
running clean
removing 'build\lib.win-amd64-3.7' (and everything under it)
'build\bdist.win-amd64' does not exist -- can't clean it
'build\scripts-3.7' does not exist -- can't clean it
removing 'build'
Failed to build python-mecab-ko
Installing collected packages: pybind11, python-mecab-ko
Created temporary directory: C:\Users\ppkpp\AppData\Local\Temp\pip-record-9zrzwsqw
Running command 'C:\Users\ppkpp\anaconda3\envs\test\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"'; file='"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ppkpp\AppData\Local\Temp\pip-record-9zrzwsqw\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ppkpp\anaconda3\envs\test\Include\python-mecab-ko'
running install
Installing mecab-ko...
Traceback (most recent call last):
File "C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\scripts\install-mecab-ko.py", line 72, in install
download(url)
File "C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\scripts\install-mecab-ko.py", line 53, in download
], check=True)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\subprocess.py", line 453, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\ppkpp\anaconda3\envs\test\lib\subprocess.py", line 756, in init
restore_signals, start_new_session)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\subprocess.py", line 1155, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 지정된 파일을 찾을 수 없습니다
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\scripts\install-mecab-ko.py", line 80, in
'--enable-utf8-only')
File "C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\scripts\install-mecab-ko.py", line 74, in install
make()
File "C:\Users\ppkpp\anaconda3\envs\test\lib\tempfile.py", line 805, in exit
self.cleanup()
File "C:\Users\ppkpp\anaconda3\envs\test\lib\tempfile.py", line 809, in cleanup
_shutil.rmtree(self.name)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\shutil.py", line 507, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\shutil.py", line 395, in _rmtree_unsafe
onerror(os.rmdir, path, sys.exc_info())
File "C:\Users\ppkpp\anaconda3\envs\test\lib\shutil.py", line 393, in rmtree_unsafe
os.rmdir(path)
PermissionError: [WinError 32] 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다: 'C:\Users\ppkpp\AppData\Local\Temp\tmpgsvodyt7'
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py", line 180, in
'build_ext': BuildExtensionCommand
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\setuptools_init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\ppkpp\anaconda3\envs\test\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py", line 77, in run
self.install_mecab()
File "C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py", line 86, in install_mecab
cwd=scripts_directory)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\subprocess.py", line 328, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\Users\ppkpp\anaconda3\envs\test\python.exe', 'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\scripts\install-mecab-ko.py']' returned non-zero exit status 1.
Running setup.py install for python-mecab-ko ... error
ERROR: Command errored out with exit status 1: 'C:\Users\ppkpp\anaconda3\envs\test\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"'; file='"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ppkpp\AppData\Local\Temp\pip-record-9zrzwsqw\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ppkpp\anaconda3\envs\test\Include\python-mecab-ko' Check the logs for full command output.
Exception information:
Traceback (most recent call last):
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\req\req_install.py", line 854, in install
req_description=str(self.req),
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\operations\install\legacy.py", line 86, in install
raise LegacyInstallFailure
pip._internal.operations.install.legacy.LegacyInstallFailure
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\cli\base_command.py", line 224, in main
status = self.run(options, args)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\cli\req_command.py", line 180, in wrapper
return func(self, options, args)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\commands\install.py", line 403, in run
pycompile=options.compile,
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\req_init.py", line 90, in install_given_reqs
pycompile=pycompile,
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\req\req_install.py", line 858, in install
six.reraise(*exc.parent)
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_vendor\six.py", line 703, in reraise
raise value
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\operations\install\legacy.py", line 76, in install
cwd=unpacked_source_directory,
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\utils\subprocess.py", line 275, in runner
spinner=spinner,
File "C:\Users\ppkpp\anaconda3\envs\test\lib\site-packages\pip_internal\utils\subprocess.py", line 240, in call_subprocess
raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit status 1: 'C:\Users\ppkpp\anaconda3\envs\test\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"'; file='"'"'C:\Users\ppkpp\AppData\Local\Temp\pip-install-fboj3ji5\python-mecab-ko_fd1c236208bf4808a598847d74c6d986\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ppkpp\AppData\Local\Temp\pip-record-9zrzwsqw\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ppkpp\anaconda3\envs\test\Include\python-mecab-ko' Check the logs for full command output.
Removed build tracker: 'C:\Users\ppkpp\AppData\Local\Temp\pip-req-tracker-7waftkab'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.