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

setuptools dependency #9

Open
JamesHutchison opened this issue Nov 28, 2023 · 1 comment · May be fixed by #10
Open

setuptools dependency #9

JamesHutchison opened this issue Nov 28, 2023 · 1 comment · May be fixed by #10

Comments

@JamesHutchison
Copy link

JamesHutchison commented Nov 28, 2023

Seeing this error:

.venv/lib/python3.11/site-packages/sanic/errorpages.py:26: in <module>
    from sanic.pages.error import ErrorPage
.venv/lib/python3.11/site-packages/sanic/pages/error.py:3: in <module>
    import tracerite.html
.venv/lib/python3.11/site-packages/tracerite/__init__.py:1: in <module>
    from .html import html_traceback
.venv/lib/python3.11/site-packages/tracerite/html.py:1: in <module>
    import pkg_resources
E   ModuleNotFoundError: No module named 'pkg_resources'

Installing setuptools resolves this

The library was previously installed but when I did a poetry update it got uninstalled

@JamesHutchison
Copy link
Author

Looks like this was incomplete:

4417b70

Existing reference:

https://github.com/sanic-org/tracerite/blob/main/tracerite/html.py#L1

Tronic added a commit that referenced this issue Dec 6, 2023
Fix #9. Needs testing & review.
@Tronic Tronic linked a pull request Dec 6, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant