artur-shaik / CueParser

Simple cue file parser written in python
MIT License
19 stars 6 forks source link

Fix for missing `dateutil` #8

Closed ink-splatters closed 3 months ago

ink-splatters commented 3 months ago

Error

starting one of the tools, installed via pipx, with modern python (3.12), results in this error:

❯ cuegen
Traceback (most recent call last):
  File "/Users/ic/.local/bin/cuegen", line 5, in <module>
    from cuegen import main
  File "/Users/ic/dev/.dotfiles/.local/share/pipx/venvs/cueparser/lib/python3.12/site-packages/cuegen.py", line 10, in <module>
    from dateutil.parser import parse
ModuleNotFoundError: No module named 'dateutil'

Solution

Fixed by creating requirements.txt and applying changes to setup.py

artur-shaik commented 3 months ago

Thank you.