Replies: 1 comment 1 reply
-
|
same probleme |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since for a long I was building with the same method flet app for android and compile them in windows with >Flet build apk method. All my imports (from py file to main.py pr other) are failing. If main.py is inthe same folder with mz class.py file ot works but if it is in dirrent folder it completely give ModuleNotFoundError. I tried absolute, relative methods adding sys.path to folders. Creating extra zip file and import them all failed. I need urgent to complete my projects in time. I need to understans if it is general problem or for me and how to solve this issue.
I created a small model project to present my problem.
Thank you for support
Ozkan
Except venv and build section I compressed the complete project in zip file. Or share all files as straight text format.
My System and Files in Text.txt
app-release.apk in text structure
app.zip in text structure
complete project
I am using FLET==0.28.3
1-PROJECT FOLDER STRUCTURE ##################################
WHOIS
├── README.md
├── pyproject.toml
├── app
│ ├── assets
│ │ └── .....
│ ├── ui_classes
│ │ ├── init.py (empty)
│ │ └── folder_deneme.py
│ ├── init.py (empty)
│ ├── deneme.py
│ └── main.py
├── src
├── venv
└── storage
├── data
└── temp
Beta Was this translation helpful? Give feedback.
All reactions