2017-11-05 4 views
0

다음 지침에 따라 Mac에 hunspell을 설치하려고했습니다. 그래서 내가 너무 좋아, 지금까지 MacOS에서 hunspell 패키지 설치 Sierra

brew install hunspell

을 사용했습니다 : 1.6.2이 이미 설치되어 hunspell. 그러나, 다음 단계는 내가

sudo pip install pyhunspell 

sudo pip install hunspell 

첫 번째 수율

오류 메시지

Could not find a version that satisfies the requirement PyHunSpell (from versions:) No matching distribution found for PyHunSpell

두 번째로 시도 파이썬 라이브러리 PyHunSpell를 설치 말한다 :

fatal error: 'hunspell.hxx' file not found #include ^~~~~~~~~~~~~~ 1 error generated. error: command 'gcc' failed with exit status 1

---------------------------------------- 

Command "/Users/l/anaconda/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-61ir9d07/hunspell/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-lzznopa1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-61ir9d07/hunspell/

내가 뭘 잘못하고 있는거야? 내 컴퓨터의 hunspell 폴더를 이미 확인했는데 hunspell.hxx 파일이 있습니다.

+0

문제는 최근에 수정되었습니다 (며칠 전 : p). –

답변

0

최근에 같은 문제가 발생했습니다. hunspell에 대해 열린 매크로 티켓에 note을 추가했습니다.

관련 문제