-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
설치시 에러가 발생합니다. #92
Comments
지금 확인해보니 |
알려주신대로 make를 포함한 명령어를 입력해도 에러가 해결되지 않았습니다ㅠㅠ make package_python를 실행하면 다음과 같은 메시지가 나오는데, 이 부분부터 잘못된 것일까요? Run CPack packaging tool for source... |
khaiii 소스코드의 위치와 체크아웃한 버전을 좀 알려주세요. 만약
|
Update khaiii 하위에 build에 설치되어야 하는데 khaiii/khaiii-0.4.zip generated로 생성된 것이 문제인가요? khaiii의 소스코드 위치는 /Users/wookjaemaeng/build/khaiii 입니다. wookjaemaeng@Wookjaeui-MacBookAir build % cmake .. 알려주신 방법대로 khaiii 디렉토리 하위에 build에 가서 cmake.. 이랑 make pakcage_python 실행하면 khaiii 디렉토리에서 make package_python을 실행하면 다음과 같은 메시지가 나옵니다. |
python 모듈 설치 시 setup.py 코드 내부에 |
알려주신 방법대로 설치해서 해결되었습니다~ 친절하게 알려주셔서 정말 감사드립니다!! |
안녕하세요~ 좋은 형태소 분석기를 개발하시고 공유해주셔서 감사합니다.
python binding을 설치 중인데 에러가 나서 실행이 안되고 있습니다.ㅠㅠ
zsh에서 sudo pip3 install . 로 입력하면 다음과 같은 에러가 뜨면서 설치에 실패합니다.
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-h92y6hrd/setup.py'"'"'; file='"'"'/private/tmp/pip-req-build-h92y6hrd/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/tmp/pip-wheel-k4kpah90
cwd: /private/tmp/pip-req-build-h92y6hrd/
Complete output (27 lines):
running bdist_wheel
running build
CMake Error: The source directory "/tmp/pip-req-build-h92y6hrd/khaiii-0.4" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Traceback (most recent call last):
File "", line 1, in
File "/private/tmp/pip-req-build-h92y6hrd/setup.py", line 94, in
cmdclass={'build': CustomBuild}
File "/Users/wookjaemaeng/Library/Python/3.7/lib/python/site-packages/setuptools/init.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 192, in run
self.run_command('build')
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/tmp/pip-req-build-h92y6hrd/setup.py", line 49, in run
subprocess.check_call('cmake ..', cwd=build_dir, shell=True)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'cmake ..' returned non-zero exit status 1.
해결 방법을 알려주실 수 있을까요?
감사합니다.
The text was updated successfully, but these errors were encountered: