Skip to content

ModuleNotFoundError: No module named 'pytz' #35

@vachillo

Description

@vachillo
  • Django DataDog Logger version: 0.7.1
  • Python version: 3.11
  • Operating System: Ubuntu

Description

datadog logger uses library pytz, which this library does not have listed as a dependency

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.

What I Did

ran poetry install with this library as a dependency and got a runtime error from the library:

File "/opt/webapp/api/.venv/lib/python3.11/site-packages/django_datadog_logger/formatters/datadog.py", line 8, in <module>
  import pytz
ModuleNotFoundError: No module named 'pytz'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions