GetNPUssers.py problem

Traceback (most recent call last):
File “GetNPUsers.py”, line 11, in
from impacket import version
ImportError: No module named impacket

install impacket error:
Installed /usr/local/lib/python3.7/site-packages/impacket-0.9.22.dev1+20200327.103853.7e505892-py3.7.egg
Processing dependencies for impacket==0.9.22.dev1+20200327.103853.7e505892
Searching for flask>=1.0
Reading Links for flask
Download error on https://pypi.org/simple/flask/: unknown url type: https – Some packages may not be found!
Couldn’t find index page for ‘flask’ (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading Simple index
Download error on https://pypi.org/simple/: unknown url type: https – Some packages may not be found!
No local packages or working download links found for flask>=1.0
error: Could not find suitable distribution for Requirement.parse(‘flask>=1.0’)

Have you used git clone to get all the impacket scripts or have you only donwload this script? Try downloading the git repository with all the scripts, because sometimes there are custom things that they add into it. Hope this helps :slight_smile:

Type your comment> @Try said:

Have you used git clone to get all the impacket scripts or have you only donwload this script? Try downloading the git repository with all the scripts, because sometimes there are custom things that they add into it. Hope this helps :slight_smile:

Thank You!