Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg_resources error caused by outdated setuptools #16

Open
jblang opened this issue Jul 12, 2024 · 0 comments
Open

pkg_resources error caused by outdated setuptools #16

jblang opened this issue Jul 12, 2024 · 0 comments

Comments

@jblang
Copy link

jblang commented Jul 12, 2024

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 jblang changed the title Error caused by outdated setuptools pkg_resources error caused by outdated setuptools Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant