ModuleNotFoundError: No module named 'logging.config'. #2511
Replies: 2 comments
-
@Kludex I'm pinging you to ensure you got the notification and can see if you can help on that matter. |
Beta Was this translation helpful? Give feedback.
0 replies
-
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,
We are currently trying to ship uvicorn on our python application (compiled and frozen for Windows) but when we try to execute the app we got the following error message (sorry it's an image since it was started on a VM):
After looking around on internet about this specific issue, it's seems that there is a conflic name with the
logging.py
module of uvicorn.The similar issues we found:
Info: To generate the built exe app we are using cx_Freeze setup, this extract and pack the python packages, we never had issue with that before and the build is properly.
It's seems we can maybe create a workaround by loading and registering the python logging module before in
sys.modules
.So for us it's seems that in uvicorn the
logging.py
module shouldn't be named like a shadowing python module to avoid issue, but in mean time if you have ideas to bypass the issue if would greatly help us.Thanks
Beta Was this translation helpful? Give feedback.
All reactions