flet build macos with numpy - built app crashes #2932
Labels
bug
Something isn't working
has-upstream
This issue depends on an upstream issue
packaging
Related to app packaging
Description
Building Flet app with numpy completes with no error on mac, but built app crashes right after opening a window.
Code example to reproduce the issue:
Build command:
Describe the results you received:
Built app crashes right after rendering a window.
Running the app by
python main.py
orflet run main.py
works fine.After commenting
import numpy as np
out, built app renders a window with no content. It won't crash.Describe the results you expected:
Random float something like
Value: 0.8875341508950007
appears on a window.Additional information you deem important (e.g. issue happens only occasionally):
App built by
flet pack main.py
won't crash and works as expected.Flet version (
pip show flet
):Give your
requirements.txt
file (don'tpip freeze
, instead give direct packages):Operating system:
ProductName: macOS
ProductVersion: 14.3.1
BuildVersion: 23D60
M2 Max 12 core CPU + 30 core GPU
32GB RAM
Additional environment details:
The text was updated successfully, but these errors were encountered: