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

installation failed with #361

Open
arademaker opened this issue Nov 9, 2023 · 3 comments
Open

installation failed with #361

arademaker opened this issue Nov 9, 2023 · 3 comments

Comments

@arademaker
Copy link

      clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -I/usr/local/include -I/usr/local/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I/private/var/folders/b_/7nbv248s2nq019mcx58xrrb80000gn/T/pip-install-4w4tbrnm/neuralcoref_ec8382bdcf32461da12bc431aa5c3c71/include -I/Users/ar/work/cpdoc/dhbb-nlp/venv/include -I/usr/local/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c neuralcoref/neuralcoref.cpp -o build/temp.macosx-14-x86_64-cpython-311/neuralcoref/neuralcoref.o -O2 -Wno-strict-prototypes -Wno-unused-function
      neuralcoref/neuralcoref.cpp:196:12: fatal error: 'longintrepr.h' file not found
        #include "longintrepr.h"
                 ^~~~~~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

any idea? I was following the README

@ZheXu-Joseph
Copy link

you can try upgrading Cpython/ downgrading python/ installing build-essential

@tommybbq
Copy link

Did you overcome this error @arademaker ?

@mboogerd
Copy link

mboogerd commented May 1, 2024

I'm on a MacBook Pro from 2019 (2,3 GHz 8-Core Intel Core i9), macOS Sonoma 14.4.1 (23E224) and experienced the issue @arademaker mentioned, and tried a variety of python versions:

  • 3.11.2: Failed with the same error as above
  • 3.10.10: Failed due to instances of neuralcoref.cpp:49376:72: error: no member named 'tp_print' in '_typeobject'
  • 3.9.16: Failed due to instances of neuralcoref.cpp:49376:72: error: no member named 'tp_print' in '_typeobject'
  • 3.8.16: Succeeded

Just to share my experience and a possible way forward for others, i.e. using python 3.8(.16)

Edit: Celebrations were premature. My 3.8.16 installation cannot run the example due to #310

Edit 2: After some digging, this repository seems to have been abandoned in favour of an integration within spaCy directly, although it still lives in spaCy-experimental

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

4 participants