运行 mitmweb.exe 时出现 DLL 加载失败错误
DLL load failed error when running mitmweb.exe
当 运行 mitmweb.exe
时出现 ImportError: DLL load failed: The specified module could not be found.
错误。
我的步数:
- 已从 https://mitmproxy.org/ (v 5.0.1) 下载 Windows 安装程序
- 已在 Windows Server 2019 Datacenter
上安装(使用默认设置)
- 运行
C:\Program Files (x86)\mitmproxy\bin\mitmweb.exe
完整错误:
Traceback (most recent call last):
File "mitmweb", line 2, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\tools\main.py", line 22, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\tools\_main.py", line 14, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\master.py", line 7, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\addonmanager.py", line 8, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\eventsequence.py", line 5, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\http.py", line 7, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\net\http\__init__.py", line 1, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\net\http\request.py", line 11, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\net\http\message.py", line 5, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\net\http\encoding.py", line 11, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\brotli.py", line 8, in <module>
ImportError: DLL load failed: The specified module could not be found.
[964] Failed to execute script mitmweb
那么我缺少哪些 DLL?
目前我知道的唯一解决方法是使用版本 4.0.4。
来源:
当 运行 mitmweb.exe
时出现 ImportError: DLL load failed: The specified module could not be found.
错误。
我的步数:
- 已从 https://mitmproxy.org/ (v 5.0.1) 下载 Windows 安装程序
- 已在 Windows Server 2019 Datacenter 上安装(使用默认设置)
- 运行
C:\Program Files (x86)\mitmproxy\bin\mitmweb.exe
完整错误:
Traceback (most recent call last):
File "mitmweb", line 2, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\tools\main.py", line 22, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\tools\_main.py", line 14, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\master.py", line 7, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\addonmanager.py", line 8, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\eventsequence.py", line 5, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\http.py", line 7, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\net\http\__init__.py", line 1, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\net\http\request.py", line 11, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\net\http\message.py", line 5, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "mitmproxy\net\http\encoding.py", line 11, in <module>
File "d:\a\mitmproxy\mitmproxy\.tox\cibuild\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\brotli.py", line 8, in <module>
ImportError: DLL load failed: The specified module could not be found.
[964] Failed to execute script mitmweb
那么我缺少哪些 DLL?
目前我知道的唯一解决方法是使用版本 4.0.4。
来源: