![](/img/trans.png)
[英]Pyinstaller: Import Error: DLL load failed: The specified module could not be found
[英]Pyinstaller : module could not be found error (Pandas)
當我使用 -F 檢查時,我收到“無法加載腳本錯誤”,cmd 行說
File "site-packages\pandas\core\window\ewm.py", line 3, in module
ImportError: DLL load failed while importing aggregations: The specified module could not be found.
據說這是 pandas 錯誤,我嘗試通過pip install pandas
解決方法是什么? 還有支持eel
的 Pyinstaller 的替代品嗎? 在 pyinstaller 中,我通常給pyintaller -m eel app.py Web --noconsole --onefile
以支持 eel UI
我有一個解決方案,但它並不漂亮,並且不適用於 --onefile:
python -m eel app.py Web
pip install -r requirements.txt --target=dist/app --ignore-installed
在要求中,所有 python 包都是您需要的。 您可能需要添加一些額外的 package 來滿足 setuptools 或 astor 等要求
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.