在 nmap for Windows - 7.94 上安装当前版本后,Zenmap GUI 无法启动。
开始菜单快捷方式包含: "C:\Program Files (x86)\Nmap\zenmap in\pythonw.exe" -c "from zenmapGUI.App import run;run()"
如果我附加 2>error.txt 来尝试获取一些反馈,error.txt 包含:
Traceback (most recent call last):
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.10\site-packages\zenmapGUI\App.py", line 73, in <module>
import gi
File "dist/zenmap-w64/mingw64/lib/python3.10/site-packages/gi/__init__.py", line 40, in <module>
ImportError: DLL load failed while importing _gi: The specified procedure could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.10\site-packages\zenmapGUI\App.py", line 87, in <module>
import gi
File "dist/zenmap-w64/mingw64/lib/python3.10/site-packages/gi/__init__.py", line 40, in <module>
ImportError: DLL load failed while importing _gi: The specified procedure could not be found.
我尝试过卸载并重新安装,但没有成功。如果我卸载并重新安装版本 7.93 一切都很好。
想法?想法?
我更改了 Zenmap 快捷方式的属性:“C:\Program Files (x86)\Nmap\Zenmap.lnk”。
“开始于:”是“C:\Program Files (x86)\Nmap”。我将其更改为“C:\Program Files (x86)\Nmap\zenmap in”。