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

AttributeError: 'module' object has no attribute 'ServerProxy' #2

Open
SeekPoint opened this issue Jul 14, 2017 · 1 comment
Open

Comments

@SeekPoint
Copy link

mldl@mldlUB1604:/ub16_prj/dqa-net$ python -m prepro.p05
dumping json files ...
done
N/A%| |ETA: --:--:--Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/mldl/ub16_prj/dqa-net/prepro/p05.py", line 493, in
prepro_questions(ARGS)
File "/home/mldl/ub16_prj/dqa-net/prepro/p05.py", line 323, in prepro_questions
sents = [_tokenize(qa2hypo(ques_text, choice, args.qa2hypo, args.qa2hypo_path)) for choice in d['answerTexts']]
File "/home/mldl/ub16_prj/dqa-net/prepro/p05.py", line 37, in qa2hypo
from qa2hypo import qa2hypo as f
File "qa2hypo/qa2hypo.py", line 7, in
from helper import *
File "qa2hypo/helper.py", line 1, in
from parser import *
File "qa2hypo/parser.py", line 10, in
server = jsonrpc.ServerProxy(jsonrpc.JsonRpc20(), jsonrpc.TransportTcpIp(addr=("127.0.0.1", 8080)))
AttributeError: 'module' object has no attribute 'ServerProxy'
mldl@mldlUB1604:
/ub16_prj/dqa-net$

@petrbabkin
Copy link

you need to use jsonrpc that comes with stanford-corenlp-python

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

2 participants