Skip to content

ELIT installation problem #6

@chan-hub

Description

@chan-hub

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 []

    commands:
        token_tagger: use token tagger
        pos_tagger: run pos tagger
        ner_tagger: run ner tagger
        dep_parser: run syntactic dependency parser
        sdp_parser: run semantic dependency parser
        install: Install model
        download: download pre-trained model or word embedding

positional arguments:
command command to run

optional arguments:
-h, --help show this help message and exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions