Taken from the link: https://pypi.org/project/pylinkgrammar/
New install of Crostini - Debian 10 Buster
$ sudo apt update
$ sudo apt upgrade
$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:python-pylinkgrammar/getsome
Link Grammar source and libraries, as well as the python bindings that depend on them.
This is an "unsanctioned" release of the link-grammar libs, with a version bump to 4.7.6.
Hopefully, a "stable" PPA will be coming soon, and then on to the main repos.
More info: https://launchpad.net/~python-pylinkgrammar/+archive/ubuntu/getsome
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox '/tmp/tmp2b032o1f/pubring.gpg' created
gpg: /tmp/tmp2b032o1f/trustdb.gpg: trustdb created
gpg: key 50E59F00E91F46F4: public key "Launchpad PPA for Linkgrammar for Python" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
$ sudo apt-get install liblink-grammar4
$ sudo apt install python3-pip
$ pip3 install pylinkgrammar
Collecting pylinkgrammar
Building wheels for collected packages: pylinkgrammar
Running setup.py bdist_wheel for pylinkgrammar ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lcunqz3f/pylinkgrammar/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-edeq_hel --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pylinkgrammar
copying pylinkgrammar/tests.py -> build/lib.linux-x86_64-3.7/pylinkgrammar
copying pylinkgrammar/clinkgrammar.py -> build/lib.linux-x86_64-3.7/pylinkgrammar
copying pylinkgrammar/__init__.py -> build/lib.linux-x86_64-3.7/pylinkgrammar
copying pylinkgrammar/linkgrammar.py -> build/lib.linux-x86_64-3.7/pylinkgrammar
running build_ext
building 'pylinkgrammar/_clinkgrammar' extension
swigging pylinkgrammar/link_grammar.i to pylinkgrammar/link_grammar_wrap.c
swig -python -o pylinkgrammar/link_grammar_wrap.c pylinkgrammar/link_grammar.i
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
----------------------------------------
Failed building wheel for pylinkgrammar
Running setup.py clean for pylinkgrammar
Failed to build pylinkgrammar
Installing collected packages: pylinkgrammar
Running setup.py install for pylinkgrammar ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lcunqz3f/pylinkgrammar/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-cviyxgit/install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pylinkgrammar
copying pylinkgrammar/tests.py -> build/lib.linux-x86_64-3.7/pylinkgrammar
copying pylinkgrammar/clinkgrammar.py -> build/lib.linux-x86_64-3.7/pylinkgrammar
copying pylinkgrammar/__init__.py -> build/lib.linux-x86_64-3.7/pylinkgrammar
copying pylinkgrammar/linkgrammar.py -> build/lib.linux-x86_64-3.7/pylinkgrammar
running build_ext
building 'pylinkgrammar/_clinkgrammar' extension
swigging pylinkgrammar/link_grammar.i to pylinkgrammar/link_grammar_wrap.c
swig -python -o pylinkgrammar/link_grammar_wrap.c pylinkgrammar/link_grammar.i
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-lcunqz3f/pylinkgrammar/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-cviyxgit/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-lcunqz3f/pylinkgrammar/
--
You received this message because you are subscribed to the Google Groups "link-grammar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to link-grammar...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/link-grammar/92d94053-42fc-47f4-bf9f-5ba816d470a7n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/link-grammar/836cf9e1-c1dd-4094-a6f8-15fcd8eec59en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/link-grammar/CACEDkO%2B9_QL5ubdc_iM548OWTjhJk0Fq_bjCJ0CO3Nd%2BntyWwA%40mail.gmail.com.