romanz / amodem

Audio MODEM Communication Library in Python
Other
965 stars 121 forks source link

Implicit dependency on setuptools(No module named 'pkg_resources') #76

Open AmeyaVS opened 2 months ago

AmeyaVS commented 2 months ago

Hello,

While trying out the project on my system in a virtual env. I am encountering following error:

Traceback (most recent call last):
  File "/home/ameya/venvs/bin/amodem", line 5, in <module>
    from amodem.__main__ import _main
  File "/home/ameya/venvs/lib/python3.12/site-packages/amodem/__main__.py", line 9, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

The issue disappears after installing the following package in the virtualenv:

pip install setuptools
AmeyaVS commented 2 months ago

I also see that the PR #67 updates the setuptools dependency in the CI. But it also needs to be added to the setup.py for the dependency when trying to install the tool using pip.