MS20190155 / Measuring-Corporate-Culture-Using-Machine-Learning

Code Repository for MS20190155
135 stars 97 forks source link

Error when installing corenlp #3

Closed caiyishu closed 3 years ago

caiyishu commented 3 years ago

I followed your instructions to install the corenlp in Win10. However, when I run "python -m culture.preprocess" to check if well set up, there returned:

File "C:\Python39\lib\site-packages\stanfordnlp\server\client.py", line 311, in _request self.ensure_alive() File "C:\Python39\lib\site-packages\stanfordnlp\server\client.py", line 137, in ensure_alive raise PermanentlyFailedException("Timed out waiting for service to come alive.") stanfordnlp.server.client.PermanentlyFailedException: Timed out waiting for service to come alive.

Could you give me some suggestions to handle this problem?

caiyishu commented 3 years ago

This situation only occurred when I set the environment variable to the corenlp, while the program worked with modifying the global_options.py.

maifeng commented 3 years ago

Setting the environment variable depends on your OS. Perhaps check StackOverflow. Closed.

caiyishu commented 3 years ago

Setting the environment variable depends on your OS. Perhaps check StackOverflow. Closed.

Thank you! The problem was settled by your solution.