azure-devops-python-api icon indicating copy to clipboard operation
azure-devops-python-api copied to clipboard

Errors when convert py to exe

Open Gerphan94 opened this issue 4 years ago • 2 comments

Hi, When i run code on py, it working But when i convert to exe (use "auto-py-to-exe"), errors:

Traceback (most recent call last): File "Azure_v3.py", line 24, in wit_client = cnt.clients.get_work_item_tracking_client() File "azure\devops\released\client_factory.py", line 170, in get_work_item_tracking_client File "azure\devops\connection.py", line 44, in get_client File "azure\devops\connection.py", line 52, in _get_class ModuleNotFoundError: No module named 'azure.devops.released.work_item_tracking' whenconverttoexe

Gerphan94 avatar Apr 11 '22 03:04 Gerphan94

Same here: image azure-devops 7.1.0b4 Works fine until converting.

TeaKnight42 avatar Apr 07 '24 04:04 TeaKnight42

Fixed manually by import of required library to file: import azure.devops.v7_1.work_item_tracking.work_item_tracking_client (or 7.0, if u wish).

TeaKnight42 avatar Apr 07 '24 05:04 TeaKnight42