[Question] I'm encountering a ModuleNotFoundError "wsgiref" when running my Flet app after building: #4657
Unanswered
ShibainuHacker
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Could be a hidden import causing the issue. I've had a similar issue on windows trying to build with Langchain libraries. Try adding the package to your requirements file, and even just importing it near the entry point of you application. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Simple flet project but error occurs.
test_wsgiref.zip
Question
Error Title
ModuleNotFoundError: No module named 'wsgiref'
Environment
Steps to Reproduce
flet build macos --project myAppName --copyright myName --build-version 0.1.0
Expected Behavior
The application should start normally without any module import errors.
Additional Context
Questions
Code sample
Error message
files
main.py
pyproject.toml
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions