Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'queue' #29

Closed
zongdeiqianxing opened this issue Mar 12, 2020 · 4 comments
Closed

No module named 'queue' #29

zongdeiqianxing opened this issue Mar 12, 2020 · 4 comments

Comments

@zongdeiqianxing
Copy link

No module named 'queue' or No module named 'Queue'

@nature1995
Copy link

nature1995 commented Mar 13, 2020

You have 2 options:

  1. You can change the /lib/python3.6/site-packages/altdns/main.py
# From
from Queue import Queue as Queue
# To
from queue import Queue as Queue
  1. You can use the newest code in github
git clone https://github.com/infosec-au/altdns.git
python setup.py build
python setup.py install

@mirhatx
Copy link

mirhatx commented Jun 7, 2020

i'm getting this issue and both of the solutions didn't work for me

@mirhatx
Copy link

mirhatx commented Jun 11, 2020

i fixed this issue by doing:

  1. cd altdns
  2. open main.py in linux i did nano main.py
  3. comment out from queue import Queue as Queue by adding # in the beginning
  4. add from multiprocessing import Queue

@niksthehacker
Copy link

edit main.py and replace

from Queue import Queue as Queue

to this

from multiprocessing import Queue as Queue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants