pyinstaller is failing to include the tzdata module in the final exe file 
we are building.

Below is the Traceback of the error message during the execution.

Traceback (most recent call last):
  File "zoneinfo\_common.py", line 12, in load_tzdata
  File "importlib\resources.py", line 88, in open_binary
  File "importlib\resources.py", line 49, in _get_package
  File "importlib\resources.py", line 40, in _resolve
  File "importlib\__init__.py", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in 
_call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in 
_call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tzdata'

File "zoneinfo\_common.py", line 24, in load_tzdata
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key 
Etc/UTC'

Please suggest a solution for this.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/423e693d-ab41-4a06-b494-b4deb11927edn%40googlegroups.com.

Reply via email to