解决办法:get
安装最新版nmappycharm
https://nmap.org/dist/nmap-7.80-setup.exe变量
找到nmap路径map
添加到环境变量中的path中di
关闭并从新打开pycharm环境变量