flask-gopher icon indicating copy to clipboard operation
flask-gopher copied to clipboard

pkg_resources error caused by outdated setuptools

Open jblang opened this issue 1 year ago • 0 comments

The figlet dependency in flask-gopher is throwing the following error:

./run_server.py
Traceback (most recent call last):
  File "/home/jblang/flask-gopher/demo/./run_server.py", line 23, in <module>
    from pyfiglet import FigletFont
  File "/home/jblang/flask-gopher/venv/lib/python3.12/site-packages/pyfiglet/__init__.py", line 11, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

This can be fixed by installing the latest version of setuptools:

pip install --upgrade setuptools

You may want to include a note in your readme or see if you can add a dependency so that the latest setuptools is automatically installed.

jblang avatar Jul 12 '24 13:07 jblang