私はこの指示に従ってMacにhunspellをインストールしようとしています:。 hunspell 1.6.2がすでにインストールされています。だから私は、これまでのところ、とても良いMacOSにhunspellパッケージをインストールするSierra
brew install 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
秒1で試してみましたPythonライブラリ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ファイルはそこにあります。
問題は最近修正されました(数日前のように:p) –