vault backup: 2024-05-29 10:07:10
This commit is contained in:
@@ -21,3 +21,7 @@ with appInstance.app_context():
|
||||
|
||||
##### 已經有 `migrations` 資料夾,執行 `dbUpgrade.exe` 的時候,發生 `ModuleNotFoundError: No module named 'logging.config'`
|
||||
|
||||
pyinstaller 沒有包到 logging 模組,用 `--hidden-import` 把它包進來即可。
|
||||
```bash
|
||||
pyinstaller --hidden-import logging --hidden-import logging.config -F dbUpgrade.py
|
||||
```
|
||||
Reference in New Issue
Block a user