ModuleNotFoundError: No module named 'requests' #3267
Unanswered
SebastianSosa
asked this question in
Q&A
Replies: 2 comments
-
With the minimum example I get the same issue (requirements.txt contains requests.):
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Solution from #3356 doesn't work. I have requests in pyproject.toml (tried also with requirements.txt) and still have a issue. But . After building apk requests libary in build/site-packages/ folder i see requests folder for every platform. But afeter apk instalation on andorid device there is no requests folder in files/flet/python_side_packages/. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I created an app that runs correctly on Windows. However, when I create the APK and install it on my phone, I encounter the following error message:
Traceback (most recent call last):
File "", line 43, in
File "", line 229, in run_module
File "", line 88, in _run_code
File "C:\Users\SSosa\AppData\Local\Temp\serious_python_temp70f602ae\main.py", line 3, in
ModuleNotFoundError: No module named 'requests'
My requirements.txt contains requests.
I am on flutter 3.19.6, flet 0.22.0 and python 3.10.9.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions