Python 3.8.1
Windows 10
pyinstaller 3.6

Traceback (most recent call last):
  File "wctest.py", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File 
"d:\users\worker\appdata\local\programs\python\python38\scripts\image2line\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
 
line 623, in exec_module
    exec(bytecode, module.__dict__)
  File "scripts\image2line\lib\site-packages\workalendar\__init__.py", line 
6, in <module>
  File "scripts\image2line\lib\site-packages\pkg_resources\__init__.py", 
line 482, in get_distribution
  File "scripts\image2line\lib\site-packages\pkg_resources\__init__.py", 
line 358, in get_provider
  File "scripts\image2line\lib\site-packages\pkg_resources\__init__.py", 
line 901, in require
  File "scripts\image2line\lib\site-packages\pkg_resources\__init__.py", 
line 787, in resolve
pkg_resources.DistributionNotFound: The 'workalendar' distribution was not 
found and is required by the application
[660] Failed to execute script wctest

-- 
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 pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/3cd1b9fc-a5ce-4ce2-ab85-4fab639bc8a8%40googlegroups.com.
# -*- coding: utf-8 -*-
"""
Created on Thu Mar 26 14:22:55 2020

@author: Worker
"""


from workalendar.asia import Taiwan

cal = Taiwan()
print(cal.holidays(2020))

Reply via email to