nprintml icon indicating copy to clipboard operation
nprintml copied to clipboard

[Question]: When I run nprintml, I get the error pytz: No module named 'zoneinfo'

Open gtumadopt opened this issue 1 year ago • 1 comments

What's up?

When I run nprintml, I get the error pytz: No module named 'zoneinfo'

$ nprintml -L labels.txt -a pcap --pcap_dir dataset/ -4 -u -p 10 Traceback (most recent call last): File "/home/ubuntu/.local/bin/nprintml", line 5, in from nprintml.cli import execute File "/home/ubuntu/.local/lib/python3.8/site-packages/nprintml/cli.py", line 16, in from nprintml.util import NumericRangeType File "/home/ubuntu/.local/lib/python3.8/site-packages/nprintml/util/init.py", line 1, in from .fileformat import format_handlers # noqa: F401 File "/home/ubuntu/.local/lib/python3.8/site-packages/nprintml/util/fileformat.py", line 4, in import pandas as pd File "/home/ubuntu/.local/lib/python3.8/site-packages/pandas/init.py", line 16, in raise ImportError( ImportError: Unable to import required dependencies: pytz: No module named 'zoneinfo'

I have installed pytz. $ python -m pip install pytz Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (2022.1)

How to solve this problem?

Due diligence

  • [X] I have read the docs

gtumadopt avatar Feb 20 '24 02:02 gtumadopt

Have you tried the docker image? Difficult to understand if this is local to your device.

JordanHolland avatar Feb 26 '24 20:02 JordanHolland