sphinx-build: error: unrecognized arguments :ko 를 오류로 뱉습니다.. (Wndows 8.1 , python 3.6.4)
혹시 윈도우에서 테스트 안하셨나요..?
아직 윈도우는 지원하지 않습니다.
그럼 반드시 리눅스가 필요한가요..?
그게 제일 간단할 것 같습니다. 윈도우를 지원하거나 다른 더 편한 방법도 강구해보겠습니다.
일단 build.py 의 build()에서 옵션들을 작은따옴표로 묶어주니까 관련 에러들은 사라지는데요, autobuild-stable-html은 아무리 구글링을 해도 찾아지지 않습니다... 정확히 무슨 옵션인가요??
cpython/Doc/Makefile target 중 하나입니다.
Cloning into 'cpython'... Warning: Permanently added the RSA host key for IP address '192.30.255.112' to the list of known hosts. git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Traceback (most recent call last): File "./build.py", line 57, in <module> main() File "./build.py", line 52, in main prepare_env() File "./build.py", line 36, in prepare_env git_clone('git@github.com:python/cpython.git', 'cpython', VERSION) File "./build.py", line 29, in git_clone shell("git clone --depth 1 --no-single-branch {} {}".format(repository, directory)) File "./build.py", line 22, in shell return subprocess.check_call(cmd, **opts) File "/Users/hyeongdo/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'git clone --depth 1 --no-single-branch git@github.com:python/cpython.git cpython' returned non-zero exit status 128.
Mac 에서는 위와 같이 에러가 납니다.
@caerang
git clone git@github.com:python/cpython.git
은 되시나요?
@flowdas
위 명령어도 접근 권한이 없어서 안됩니다. 일단 임시로 ssh가 아니라 https 로 build.py 코드 수정하고 실행해 봤는데, 프로젝트 다운로드는 되는데
Not building; 3.8.0a0 is not a release version. make: *** [autobuild-stable-html] Error 1 Traceback (most recent call last): File "./build.py", line 57, in <module> main() File "./build.py", line 53, in main build() File "./build.py", line 48, in build chdir=doc_dir) File "./build.py", line 22, in shell return subprocess.check_call(cmd, **opts) File "/Users/hyeongdo/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'make VENVDIR=../../venv SPHINXOPTS='-D locale_dirs=../locale -D language=ko -D gettext_compact=0' autobuild-stable-html' returned non-zero exit status 2.
위와 같은 에러가 발생해서 일단 중단한 상태에요.
github 에 ssh 설정을 하지 않으셔서 생기는 문제 같습니다. ssh 설정을 하시거나, build.py 에 있는 git@github.com:python/cpython.git 를 https url 로 바꾸고 실행해보세요. 방금 보내주신 에러는 build.py 가 하는 브랜치 설정이 이루어지지 않아서 생기는 에러입니다. 이미 clone 한 cpython 디렉토리는 삭제하셔야합니다.
네, 말씀처럼 ssh 키 등록하니까 잘 동작합니다. 감사합니다.
Activity
waterple commented on May 9, 2018
혹시 윈도우에서 테스트 안하셨나요..?
flowdas commented on May 9, 2018
아직 윈도우는 지원하지 않습니다.
waterple commented on May 9, 2018
그럼 반드시 리눅스가 필요한가요..?
flowdas commented on May 9, 2018
그게 제일 간단할 것 같습니다. 윈도우를 지원하거나 다른 더 편한 방법도 강구해보겠습니다.
waterple commented on May 9, 2018
일단 build.py 의 build()에서 옵션들을 작은따옴표로 묶어주니까 관련 에러들은 사라지는데요,
autobuild-stable-html은 아무리 구글링을 해도 찾아지지 않습니다... 정확히 무슨 옵션인가요??
flowdas commented on May 9, 2018
cpython/Doc/Makefile target 중 하나입니다.
caerang commented on May 17, 2018
Mac 에서는 위와 같이 에러가 납니다.
flowdas commented on May 17, 2018
@caerang
은 되시나요?
caerang commented on May 18, 2018
@flowdas
위 명령어도 접근 권한이 없어서 안됩니다. 일단 임시로 ssh가 아니라 https 로 build.py 코드 수정하고 실행해 봤는데, 프로젝트 다운로드는 되는데
위와 같은 에러가 발생해서 일단 중단한 상태에요.
flowdas commented on May 18, 2018
@caerang
github 에 ssh 설정을 하지 않으셔서 생기는 문제 같습니다. ssh 설정을 하시거나, build.py 에 있는 git@github.com:python/cpython.git 를 https url 로 바꾸고 실행해보세요. 방금 보내주신 에러는 build.py 가 하는 브랜치 설정이 이루어지지 않아서 생기는 에러입니다. 이미 clone 한 cpython 디렉토리는 삭제하셔야합니다.
caerang commented on May 18, 2018
@flowdas
네, 말씀처럼 ssh 키 등록하니까 잘 동작합니다. 감사합니다.