You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to install the current version of CyHunspell (1.3.4). pip install cyhunspell first fails with "package hunspell was not found in the pkg-config search path". When I add it to the path, it fails again because it cannot find 'hunspell/hunspell.hxx' in the include path.
./install-sh -c -d '/private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-install-1msosrr7/cyhunspell_ec8a410d2e92487187afdf9db199bbb7/libs/tmp/lib/pkgconfig'
/usr/bin/install -c -m 644 hunspell.pc '/private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-install-1msosrr7/cyhunspell_ec8a410d2e92487187afdf9db199bbb7/libs/tmp/lib/pkgconfig'
Traceback (most recent call last):
File "/private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-install-1msosrr7/cyhunspell_ec8a410d2e92487187afdf9db199bbb7/find_library.py", line 226, in pkgconfig
raise RuntimeError(response)
RuntimeError: Package hunspell was not found in the pkg-config search path.
Perhaps you should add the directory containing `hunspell.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hunspell' found
Second error message (include): hunspell/hunspell.cpp:633:10: fatal error: 'hunspell/hunspell.hxx' file not found
The text was updated successfully, but these errors were encountered:
adno
changed the title
Pip install on macOS 12.5 (Apple silicon M1)
Pip install fails on macOS 12.5 (Apple silicon M1)
Aug 25, 2022
Update: The problem and the workaround is still the same even for macOS 13.1 and Python 3.11, depending on where and which version of hunspell you have, a command similar to this will work:
I tried to install the current version of CyHunspell (1.3.4).
pip install cyhunspell
first fails with "package hunspell was not found in the pkg-config search path". When I add it to the path, it fails again because it cannot find 'hunspell/hunspell.hxx' in the include path.The following command works OK as a workaround:
Details of my configuration and the error messages follow.
My configuration:
First error message (pkg-config):
...
Second error message (include):
hunspell/hunspell.cpp:633:10: fatal error: 'hunspell/hunspell.hxx' file not found
The text was updated successfully, but these errors were encountered: