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

Hello error while trying to install with :pip install neuralcoref --no-binary neuralcoref #252

Closed
stin911 opened this issue May 14, 2020 · 8 comments
Labels

Comments

@stin911
Copy link

stin911 commented May 14, 2020

this is the error that I get when I try to run the installation from command line :
os versio: catalina 10.15.4

:/private/var/folders/fx/k8zb04513zx8klcj_8yj9hzw0000gn/T/pip-install-99rhdh6c/neuralcoref/include/numpy/npy_deprecated_api.h:11:2: warning: "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
^
neuralcoref/neuralcoref.cpp:610:10: fatal error: 'ios' file not found
#include "ios"
^~~~~
1 warning and 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.7/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/fx/k8zb04513zx8klcj_8yj9hzw0000gn/T/pip-install-99rhdh6c/neuralcoref/setup.py'"'"'; file='"'"'/private/var/folders/fx/k8zb04513zx8klcj_8yj9hzw0000gn/T/pip-install-99rhdh6c/neuralcoref/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/fx/k8zb04513zx8klcj_8yj9hzw0000gn/T/pip-record-8jyzqrub/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/neuralcoref Check the logs for full command output.

@aidenchia
Copy link

aidenchia commented Jun 4, 2020

same problem, same OS version

@griff4692
Copy link

x3. Does anyone have a workaround? If I install through pip (even with --no-binary neuralcoref arg), I get the error described in the README.

@ghost
Copy link

ghost commented Jul 6, 2020

Facing a similar issue! Any workaround yet?

@MahadShbeeb
Copy link

same issue with pycharm although it worked in anaconda

@ghost
Copy link

ghost commented Jul 8, 2020

I got this working after downgrading SpaCy version to 2.1.0.
I am using conda as well, installing from source didn't help me, the requirements.txt file says required version of Spacy to be between 2.1.0 and 2.1.9, I had 2.1.9 installed; still neuralcoref library installation resulted in the above error!

@MulinT-UN
Copy link

same issue... downgrading SpaCy version to 2.1.0 didn't work for me. Any other fixs?

@aus10powell
Copy link

I had same problem. Seems definitely to be tied to OS. For my current machine Catalina 10.14, i can't recall exactly, but I believe it was spacy 2.1.4 that worked

@svlandeg
Copy link
Collaborator

Merging this issue with #197 - see there for more pointers on installation!

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

No branches or pull requests

7 participants