Replies: 4 comments 1 reply
-
How does your |
Beta Was this translation helpful? Give feedback.
-
Here it is, with some minor changes I have made: |
Beta Was this translation helpful? Give feedback.
-
Add |
Beta Was this translation helpful? Give feedback.
-
It worked, thank you! I'd also like to ask if there's any way to make the size of my packaged program smaller? dependencies = [
"flet==0.26.0",
"opencv-python==4.11.0.86",
"pillow==11.1.0"
] import flet as ft
import cv2
from PIL import Image, ImageDraw, ImageFont As you can see, these are the dependencies my program needs, but just these three libraries alone brought the size of my app to 168.5MB (macOS). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My project requires the opencv-python library, I have installed the dependency and the program runs and works fine.
But after I compile(I'm using PyCharm's own terminal to execute the command) the program to macOS platform by command
flet build macos --arch arm64
, the program runs with an exception:No warning or exception messages appeared in the terminal during the compilation process.
And the environment detail below :
Please help me, thank you!
Beta Was this translation helpful? Give feedback.
All reactions