Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install on Mac #27

Open
songproducer opened this issue Apr 8, 2020 · 0 comments
Open

can't install on Mac #27

songproducer opened this issue Apr 8, 2020 · 0 comments

Comments

@songproducer
Copy link

When I run:
pip install generativepoetry

I get:

    Running setup.py install for hunspell ... error
    ERROR: Command errored out with exit status 1:
     command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bh/wpjhqcz57hl4h88707yvsvn00000gn/T/pip-install-zld40zh0/hunspell/setup.py'"'"'; __file__='"'"'/private/var/folders/bh/wpjhqcz57hl4h88707yvsvn00000gn/T/pip-install-zld40zh0/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 /private/var/folders/bh/wpjhqcz57hl4h88707yvsvn00000gn/T/pip-record-pwtsro53/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/hunspell
         cwd: /private/var/folders/bh/wpjhqcz57hl4h88707yvsvn00000gn/T/pip-install-zld40zh0/hunspell/
    Complete output (12 lines):
    running install
    running build
    running build_ext
    building 'hunspell' extension
    creating build
    creating build/temp.macosx-10.9-x86_64-3.8
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -D_LINUX -I/usr/local/Cellar/hunspell/1.6.2/include/hunspell -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c hunspell.cpp -o build/temp.macosx-10.9-x86_64-3.8/hunspell.o -Wall
    hunspell.cpp:20:10: fatal error: 'hunspell.hxx' file not found
    #include <hunspell.hxx>
             ^~~~~~~~~~~~~~
    1 error generated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bh/wpjhqcz57hl4h88707yvsvn00000gn/T/pip-install-zld40zh0/hunspell/setup.py'"'"'; __file__='"'"'/private/var/folders/bh/wpjhqcz57hl4h88707yvsvn00000gn/T/pip-install-zld40zh0/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 /private/var/folders/bh/wpjhqcz57hl4h88707yvsvn00000gn/T/pip-record-pwtsro53/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/hunspell Check the logs for full command output.

I have installed version Hunspell 1.7.0 using brew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant