No module named
I had this problem with 2 libs that I tried to use in flet, and it gave the same problem, the first lib is cx_Oracle and the second is oracledb.
Traceback (most recent call last):
File "
I think this issue is same as #2611 where flet did not package the Python libraries in virtual environment instead using global Python libraries. This can be fixed by copying the whole 'site-packages' directory from .venv to the flet build's 'site-packages' directory.
I think this issue is same as #2611 where flet did not package the Python libraries in virtual environment instead using global Python libraries. This can be fixed by copying the whole 'site-packages' directory from .venv to the flet build's 'site-packages' directory.
I raised this issue https://github.com/flet-dev/flet/issues/3447 according to your comments with my own suggestion for packaging python project in general. Hopefully we can fix the build issue soon.
Please give the latest Flet version a try.