dpriskorn / LexUtils

Collection of utilities to work semi-automatically on lexemes in Wikidata
GNU General Public License v3.0
3 stars 1 forks source link

missing requirements.txt file #56

Open abartov opened 1 year ago

abartov commented 1 year ago

The instructions mention a requirements.txt file, but no such file exists in this repo.

abartov commented 1 year ago

It fails to start complaining about a missing ModuleNotFoundError: No module named 'riksdagenapi' (that module probably shouldn't be mandatory, for people who may want to use the tool only in other languages.)

abartov commented 1 year ago

after manually installing riksdagenapi using pip (in a virtualenv), it still fails to start:

$ ~/venv/bin/python lexutils.py 
Traceback (most recent call last):
  File "/home/asaf/dev/LexUtils/lexutils.py", line 3, in <module>
    from lexutils import main
  File "/home/asaf/dev/LexUtils/lexutils/main.py", line 7, in <module>
    from lexutils.modules import usage_examples_module
  File "/home/asaf/dev/LexUtils/lexutils/modules/usage_examples_module.py", line 10, in <module>
    from riksdagenapi.riksdagen import Riksdagen
ModuleNotFoundError: No module named 'riksdagenapi.riksdagen'
dpriskorn commented 1 year ago

This tool is no longer in development and I'm not keen on changing that so I'm going to archive it instead.

Poetry is now used to handle the dependecies. Try pip install poetry && poetry install

abartov commented 1 year ago

Thank you for this response. Is there another tool that superseded this?

dpriskorn commented 1 year ago

I don't know. What are your needs?

abartov commented 1 year ago

Pretty much what your tool seems to have done -- adding usage examples from textual sources. I was sufficiently motivated to build a tool myself. It is Web-based and relies on Wikisource. You can find it here.