-
Notifications
You must be signed in to change notification settings - Fork 382
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
IOError: [Errno 32] Broken pipe #14
Comments
Even on Ubuntu 15.10
|
Any solutions?? |
Maybe try running build.sh -Alan |
@sunningboy, @mdtareque and @sruteesh can you try using my branch mentioned in Pull request #16, it has a much simpler interface for using an input file instead of piping the input from cat. |
Hi @napsternxg and @aritter `$ python python/ner/extractEntities.py test.1k.txt Starting with the following configurationInput file: test.1k.txt Mallet Memory: 256mNo output file given. Will write to STDOUT. |
@napsternxg and @aritter |
@sruteesh @chandra589 |
@napsternxg I am using pyhton 3.4 and running it on Cygwinx64 terminal from windows 10. |
I think this code is compatible with only Python 2.7 because of the print statement formats. Try with Python 2.7. |
I have the same issue. Any solutions? |
I'm having the same issue.
I also got an error when running the build.sh:
I'm using python 2.7. |
Anybody got a solution? Facing the same issue |
I have the same issue. ` Starting with the following configurationInput file: test.1k.txt Mallet Memory: 256m/bin/sh: 1: java: not found After I tried to run build.sh, this issue is still existing. My python version: 2.7.12 |
same issue here, python version is Python 2.7.10. Would be great to see a fix. @napsternxg @aritter |
I have some similar issue.
And I found out that running
|
I hava met the similar problem, has anyone get a solution? Starting with the following configurationInput file: test.1k.txt
|
Hey, guys, good news for Mac users! I ended up being able to build on Mac (10.12.6) by doing the following: Download TinySVM and unzip it to the folder of twitter_nlp-master: Change build.sh in twitter_nlp-master as below: Then change the python/cap/build.sh into like below: c++ -o cap_classify cap_classify.cpp -ltinysvm Then run Dont forget to install tinysvm anyway using : This works! Hope this helps. |
@Johnsonxiong worked for me -- thanks! maybe someone can create a PR for this. the only thing I had to change was in the $PWD reference in
|
TinySVM no longer has |
OS is mac air OX.
How can solve it?
$ cat test.1k.txt | python python/ner/extractEntities2.py
/bin/sh: .//python/cap/cap_classify: cannot execute binary file
Traceback (most recent call last):
File "python/ner/extractEntities2.py", line 131, in
goodCap = capClassifier.Classify(words) > 0.9
File ".//python/cap/cap_classifier.py", line 33, in Classify
self.capClassifier.stdin.write("%s\n" % self.fe.Extract(' '.join(words)))
IOError: [Errno 32] Broken pipe
The text was updated successfully, but these errors were encountered: