-
Notifications
You must be signed in to change notification settings - Fork 2
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
ELIT installation problem #6
Comments
Hi, seems that you have an legacy elit installed. The latest version doesn't print commands you gave. What you called is not what you installed just now. To confirm, run
which should show You can either uninstall the previous version or install elit in a clean new conda env or a virtual env or use colab instead. See https://colab.research.google.com/drive/1vEatxoXQbfLC4Hpy1lLG_DFOIfguPcUE?usp=sharing#scrollTo=yaHSawqjHObr |
Hi, chan@cscope37:~/ELIT/elit-main/docs$ elit --help The issue may be related to a broken python runtime - originally, this ubuntu 18.04 server comes w/ python 2.7.17 (as default python) and python 3.6. Since ELIT requires python >= 3.7, python 3.8 was installed. chan@cscope37:~/ELIT/elit-main$ python3.8 -V Default python is still 2.7 however: |
Well, then the |
The installation log shows that pip3 was used instead of pip, but the end result is 'elit-0.1.35'. The pip3 version is 3.6, however, that might be the reason grabbing older version ? Tried re-installing w/ pip3.8 but then ran into http connection problem. Will try later to see how it goes. Thanks for quick respond.chan@cscope37: pip3 install elit --pre |
After installing python3.7 w/ its pip, still ran into an error - looks like python exception: chan@cscope6:~/project/ELIT/elit-main$ pip install elit --pre During handling of the above exception, another exception occurred: Traceback (most recent call last):
|
Hi, the new error is due to your network failed to reach files.pythonhosted.org, which is a public site not maintained by us. I'd recommend you to either retry, or to use a pip mirror/VPN, depending on your geo location. |
Hi, Emory NLP is a research lab in Atlanta.
|
|
Can't install ELIT properly - ran into 'illegal instruction(core dump)' upon a test command.
Here's the result of installation script:
chan@cscope37: pip3 install elit --pre
Collecting elit
Using cached https://files.pythonhosted.org/packages/13/2b/a83c0d2578fa2426ae8f58c4dcf387688e6434752b2cd3cca223c5a9a140/elit-0.1.35-py3-
none-any.whl
Collecting mxnet>=1.4.1 (from elit)
Using cached https://files.pythonhosted.org/packages/81/f5/d79b5b40735086ff1100c680703e0f3efc830fa455e268e9e96f3c857e93/mxnet-1.6.0-py2.
py3-none-any.whl
Collecting numpy==1.14.5 (from elit)
Using cached https://files.pythonhosted.org/packages/68/1e/116ad560de97694e2d0c1843a7a0075cc9f49e922454d32f49a80eb6f1f2/numpy-1.14.5-cp3
6-cp36m-manylinux1_x86_64.whl
Collecting gluonnlp==0.6.0 (from elit)
Collecting marisa-trie==0.7.5 (from elit)
Collecting tqdm==4.26.0 (from elit)
Using cached https://files.pythonhosted.org/packages/79/43/19c9fee28110cd47f73e6bc596394337fe9f3e5825b4de402bbf30b3beb5/tqdm-4.26.0-py2.
py3-none-any.whl
Collecting argparse==1.4.0 (from elit)
Using cached https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-p
y2.py3-none-any.whl
Collecting gensim==3.6.0 (from elit)
Using cached https://files.pythonhosted.org/packages/27/a4/d10c0acc8528d838cda5eede0ee9c784caa598dbf40bd0911ff8d067a7eb/gensim-3.6.0-cp3
6-cp36m-manylinux1_x86_64.whl
Collecting graphviz<0.9.0,>=0.8.1 (from mxnet>=1.4.1->elit)
Using cached https://files.pythonhosted.org/packages/53/39/4ab213673844e0c004bed8a0781a0721a3f6bb23eb8854ee75c236428892/graphviz-0.8.4-p
y2.py3-none-any.whl
Collecting requests<3,>=2.20.0 (from mxnet>=1.4.1->elit)
Using cached https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-
py2.py3-none-any.whl
Collecting scipy>=0.18.1 (from gensim==3.6.0->elit)
Using cached https://files.pythonhosted.org/packages/c8/89/63171228d5ced148f5ced50305c89e8576ffc695a90b58fe5bb602b910c2/scipy-1.5.4-cp36
-cp36m-manylinux1_x86_64.whl
Collecting smart-open>=1.2.1 (from gensim==3.6.0->elit)
Using cached https://files.pythonhosted.org/packages/09/db/fab79b619923e26cecc5fb460c80f71f99666fe19182d5bb600ec4d6ff10/smart_open-6.0.0
-py3-none-any.whl
Collecting six>=1.5.0 (from gensim==3.6.0->elit)
Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.p
y3-none-any.whl
Collecting urllib3<1.27,>=1.21.1 (from requests<3,>=2.20.0->mxnet>=1.4.1->elit)
Using cached https://files.pythonhosted.org/packages/ec/03/062e6444ce4baf1eac17a6a0ebfe36bb1ad05e1df0e20b110de59c278498/urllib3-1.26.9-p
y2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests<3,>=2.20.0->mxnet>=1.4.1->elit)
Using cached https://files.pythonhosted.org/packages/11/dd/e015f3780f42dd9af62cf0107b44ea1298926627ecd70c17b0e484e95bcd/certifi-2022.5.1
8.1-py3-none-any.whl
Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests<3,>=2.20.0->mxnet>=1.4.1->elit)
Using cached https://files.pythonhosted.org/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normaliz
er-2.0.12-py3-none-any.whl
Collecting idna<4,>=2.5; python_version >= "3" (from requests<3,>=2.20.0->mxnet>=1.4.1->elit)
Using cached https://files.pythonhosted.org/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-non
e-any.whl
Installing collected packages: graphviz, urllib3, certifi, charset-normalizer, idna, requests, numpy, mxnet, gluonnlp, marisa-trie, tqdm,
argparse, scipy, smart-open, six, gensim, elit
Successfully installed argparse-1.4.0 certifi-2022.5.18.1 charset-normalizer-2.0.12 elit-0.1.35 gensim-3.6.0 gluonnlp-0.6.0 graphviz-0.8.4 idna-3.3 marisa-trie-0.7.5 mxnet-1.6.0 numpy-1.14.5 requests-2.27.1 scipy-1.5.4 six-1.16.0 smart-open-6.0.0 tqdm-4.26.0 urllib3-1.26.9
And here's the test command ran into core dump:
chan@cscope37:~/ELIT/elit-main$ elit dep_parser parse
Illegal instruction (core dumped)
Omitting the 'dep_parser' arg, the command showed help contents:
chan@cscope37:~/ELIT/elit-main$ elit parse
Unrecognized command
usage: elit []
positional arguments:
command command to run
optional arguments:
-h, --help show this help message and exit
The text was updated successfully, but these errors were encountered: