Closed always19 closed 7 years ago
Regarding the ImportError: the right command is pip3 install jsonrpclib
. pip
is for Python 2, not Python 3. Installing it for Python 2 should not have triggered the error on Python 3, though.
Ping @Ezibenroc, regarding the first error.
From this command you used:
Scripts$ CORENLP="stanford-corenlp-full-2014-08-27" CORENLP_OPTIONS="-parse.flags \" -makeCopulaHead\"" python3 -m corenlp -p 9000
I think you are using an outdated version of CoreNLP. Since #149, we use the server provided by CoreNLP. Prior to that, the library did not have any server, so we had to wrap it with some Python code.
You can use dependencies.sh to install the correct version and launch the server. I updated the README to add this instruction.
Thank you! I ran demo1, 2, 3, (4).py successfully for now.
I'm interested in representing semantic of sentences so that I want to try yours. I succeeded to run only
demo1.python
All other demos seem not to work due to the following
JSONDecodeError
I tried
pip install jsonrpclib
. Then, now I can't even run the corenlp server.Any ideas?