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

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

Closed
1 task done
gtumadopt opened this issue Feb 20, 2024 · 1 comment
Closed
1 task done
Labels
question Further information is requested triage Unconfirmed and as yet undiscussed issues

Comments

@gtumadopt
Copy link

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

  • I have read the docs
@gtumadopt gtumadopt added question Further information is requested triage Unconfirmed and as yet undiscussed issues labels Feb 20, 2024
@JordanHolland
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested triage Unconfirmed and as yet undiscussed issues
Projects
None yet
Development

No branches or pull requests

2 participants