infosec-au / altdns

Generates permutations, alterations and mutations of subdomains and then resolves them
Apache License 2.0
2.26k stars 446 forks source link

<>No module named 'Queue' #13

Closed irs4675 closed 5 years ago

irs4675 commented 7 years ago

I got this exceprion when use python altdns.py

Traceback (most recent call last): File "altdns.py", line 11, in import Queue as Queue ImportError: No module named 'Queue'

so .. I think from Queue import Queue as Queue should be from multiprocessing import Queue

gehaxelt commented 7 years ago

Hi @irs4675 afaik this script is written for python2, not python3. At least switching to python2 solved the problem for me.

See: https://stackoverflow.com/questions/29687837/queue-importerror-in-python-3

krishanuchhabra commented 3 years ago

Try the command as : python3 altdns -i .........