You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: