-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Fails to install after 'giveme5w1h-corenlp install' #45
Comments
What I did to install it was to download version 3.5.2 here: https://stanfordnlp.github.io/CoreNLP/history.html |
What command did you type after going to the directory that contained the extracted folder? |
Interesting. Could you execute the commands that are failing manually, i.e., from a shell, and post the output here?
|
@sidharth3 you got any info on this? |
I had this same issue as @sidharth3 described ( I am using OSX 10.15.3 and python 3.7 ). I have the same error log following The root of my issue was I did not have The runtime-resources folder was located at /usr/local/lib/python3.7/site-packages/Giveme5W1H/ |
I had the same issue, @K-Dasu 's comment resolved the problem. |
I was trying the installation process as described in the readme. However after the second line, I run into an error and am unable to figure out why. Please help.
Desktop % giveme5w1h-corenlp install
mkdir: runtime-resources: File exists
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/bin/giveme5w1h-corenlp", line 11, in
load_entry_point('giveme5w1h==1.0.17', 'console_scripts', 'giveme5w1h-corenlp')()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/Giveme5W1H/examples/startup/environment.py", line 9, in start
RuntimeResourcesInstaller.check_and_install()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/Giveme5W1H/examples/startup/util.py", line 54, in check_and_install
check_output(cmd, shell=True, cwd=path_giveme5w_installation)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'mkdir runtime-resources && cd runtime-resources && wget http://nlp.stanford.edu/software/stanford-corenlp-full-2017-06-09.zip && unzip stanford-corenlp-full-2017-06-09.zip && rm stanford-corenlp-full-2017-06-09.zip && wget http://nlp.stanford.edu/software/stanford-english-corenlp-2017-06-09-models.jar && mv stanford-english-corenlp-2017-06-09-models.jar stanford-corenlp-full-2017-06-09/ && cd ..' returned non-zero exit status 1.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: