PyOxidizer icon indicating copy to clipboard operation
PyOxidizer copied to clipboard

How to manually include modules (customtkinter)

Open odonald opened this issue 2 years ago • 1 comments

Hey, I'm trying to compile my python app (cptn. obvious).

I'm stuck with this:

Traceback (most recent call last): File "/Users/xxx/Documents/Code/Commercial/project/main.py", line 4, in <module> import customtkinter as ctk ModuleNotFoundError: No module named 'customtkinter' error: cargo run failed

I used to use PyInstaller to compile my apps and had the same issue with customtkinter, which I fixed by manually adding the path to the customtkinter module in PyInstaller compile command via "--add-data".

Is there a simple way to manually add modules in my .bzl ?

Thanks for any ideas to fix this.

odonald avatar Oct 11 '23 20:10 odonald

Try Doing pip install customtkinter on /Users/xxx/Documents/Code/Commercial/project

Harshu1000-7 avatar Feb 17 '25 13:02 Harshu1000-7