MacOS X 10.11에서 Python 3 용 aspell을 설치하려고하는데 pip와 수동 설치 프로그램을 사용하여 동일한 문제가 발생했습니다 (git repo를 복제하여)). 나는 이미 aspell을 MacPorts (sudo port aspell 설치)와 영어 사전 (sudo port aspell-dict-en 설치)을 사용하여 설치했다.MacOS X의 python 3 용 aspell 설치
오류는 분명합니다 (aspell.h를 찾을 수 없음). 그러나 해결 방법을 모릅니다.
도움을 주시면 감사하겠습니다.
$ sudo python3 setup.3.py build
running build
running build_ext
building 'aspell' extension
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Os -I/opt/local/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c aspell.c -o build/temp.macosx-10.11-x86_64-3.5/aspell.o
aspell.c:53:10: fatal error: 'aspell.h' file not found
#include <aspell.h>
^
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
이 하나입니까? https://github.com/WojciechMula/aspell-python/issues/6 – tripleee
Nope. 파이썬에 파이썬 3의 별명이 있습니다. 파이썬 3은 제가 사용하기 때문입니다. –