Skip to content

ctds __init__.py failed if used from executable built with pyinstaller #98

@umnyaga

Description

@umnyaga

I have a python script which works perfectly. I wanted to make an executable out of it using PyInstaller. Once I tried to execute it, I got following error:
$ dist/main
Traceback (most recent call last):
File "main.py", line 2, in
import ctds
File "PyInstaller/loader/pyimod02_importers.py", line 493, in exec_module
File "ctds/init.py", line 8, in
ModuleNotFoundError: No module named 'uuid'
[203506] Failed to execute script 'main' due to unhandled exception!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions