nltk.downloader punkt and annif[fasttext];
2. It is giving error for annif[omikuji]
Installing collected packages: omikuji
Running setup.py install for omikuji ... error
error: subprocess-exited-with-error
× Running setup.py install for omikuji did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
running install
/home/roshni/annif/annif-venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build/lib
creating build/lib/omikuji
copying python-wrapper/omikuji/__init__.py -> build/lib/omikuji
error: [Errno 2] No such file or directory: 'cargo'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> omikuji
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
3. Error for pip install annif[nn]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
(
annif-venv) roshni@roshni-HP-Pavilion-Laptop-14-dv0xxx:~/annif$ pip install numpy
Requirement already satisfied: numpy in ./annif-venv/lib/python3.10/site-packages (1.21.6)
Annif commands and web services are working just fine.
Thanks and regards
--
You received this message because you are subscribed to the Google Groups "Annif Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to annif-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/annif-users/4b986f3a-cfe2-4fb4-9252-8bd7cb0e60can%40googlegroups.com.