首页 > TAG信息列表 > PortScanner

Mac安装nmap,运行脚本出现报错:AttributeError: module 'nmap' has no attribute 'PortScanner'解

一、问题描述   使用命令pip3 install nmap 之后执行python脚本,出现报错:AttributeError: module 'nmap' has no attribute 'PortScanner'。   二、问题解决流程 1、首先进入pyhton模块安装文件,我的文件目录是:/usr/local/lib/python3.9/site-packages/nmap 2、查看使用代码编辑