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

Error: Could not find or load main class corenlp.SocketServer #32

Open
xravitejax opened this issue Sep 23, 2015 · 0 comments
Open

Error: Could not find or load main class corenlp.SocketServer #32

xravitejax opened this issue Sep 23, 2015 · 0 comments

Comments

@xravitejax
Copy link

I have not used pip install for installation.
I have used the following commands

  1. python setup.py build
  2. python setup.py install

[praveen.g@localhost stanford_corenlp_pywrapper-master]$ sudo python setup.py build
running build
running build_py
copying stanford_corenlp_pywrapper/sockwrap.py -> build/lib/stanford_corenlp_pywrapper
[praveen.g@localhost stanford_corenlp_pywrapper-master]$ sudo python setup.py install
running install
running bdist_egg
running egg_info
writing stanford_corenlp_pywrapper.egg-info/PKG-INFO
writing top-level names to stanford_corenlp_pywrapper.egg-info/top_level.txt
writing dependency_links to stanford_corenlp_pywrapper.egg-info/dependency_links.txt
reading manifest file 'stanford_corenlp_pywrapper.egg-info/SOURCES.txt'
writing manifest file 'stanford_corenlp_pywrapper.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/stanford_corenlp_pywrapper
copying build/lib/stanford_corenlp_pywrapper/sockwrap.py -> build/bdist.linux-x86_64/egg/stanford_corenlp_pywrapper
copying build/lib/stanford_corenlp_pywrapper/init.py -> build/bdist.linux-x86_64/egg/stanford_corenlp_pywrapper
creating build/bdist.linux-x86_64/egg/stanford_corenlp_pywrapper/lib
copying build/lib/stanford_corenlp_pywrapper/lib/guava-13.0.1.jar -> build/bdist.linux-x86_64/egg/stanford_corenlp_pywrapper/lib
copying build/lib/stanford_corenlp_pywrapper/lib/jackson-all-1.9.11.jar -> build/bdist.linux-x86_64/egg/stanford_corenlp_pywrapper/lib
byte-compiling build/bdist.linux-x86_64/egg/stanford_corenlp_pywrapper/sockwrap.py to sockwrap.pyc
byte-compiling build/bdist.linux-x86_64/egg/stanford_corenlp_pywrapper/init.py to init.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying stanford_corenlp_pywrapper.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying stanford_corenlp_pywrapper.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying stanford_corenlp_pywrapper.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying stanford_corenlp_pywrapper.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
stanford_corenlp_pywrapper.sockwrap: module references file
creating 'dist/stanford_corenlp_pywrapper-0.1.0-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing stanford_corenlp_pywrapper-0.1.0-py2.6.egg
removing '/usr/lib/python2.6/site-packages/stanford_corenlp_pywrapper-0.1.0-py2.6.egg' (and everything under it)
creating /usr/lib/python2.6/site-packages/stanford_corenlp_pywrapper-0.1.0-py2.6.egg
Extracting stanford_corenlp_pywrapper-0.1.0-py2.6.egg to /usr/lib/python2.6/site-packages
stanford-corenlp-pywrapper 0.1.0 is already the active version in easy-install.pth

Installed /usr/lib/python2.6/site-packages/stanford_corenlp_pywrapper-0.1.0-py2.6.egg
Processing dependencies for stanford-corenlp-pywrapper==0.1.0
Finished processing dependencies for stanford-corenlp-pywrapper==0.1.0

I am getting the following error "Error: Could not find or load main class corenlp.SocketServer".

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

1 participant