2016-12-27 12 views
1

Beim Versuch pydns Modul ich erhalte diesen Fehler zu installieren:Fehler bei der Installation pydns

C:\Windows\system32>pip install pydns 
Collecting pydns 
    Using cached pydns-2.3.6.tar.gz 
    Complete output from command python setup.py egg_info: 
    Traceback (most recent call last): 
     File "<string>", line 1, in <module> 
    File "C:\Users\Shiva\AppData\Local\Temp\pip-build-294324_x\pydns\setup.py", line 12, in <module> 
    import DNS 
    File "C:\Users\Shiva\AppData\Local\Temp\pip-build-294324_x\pydns\DNS\__init__.py", line 14, in <module> 
    import Type,Opcode,Status,Class 
ImportError: No module named 'Type' 

---------------------------------------- 
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Shiva\AppData\Local\Temp\pip-build-294324_x\pydns\ 

Ich versuchte pip install py3dns als gut, aber es funktioniert nicht.

+0

bitte helfen Sie mir, diesen Fehler loszuwerden. –

Antwort

0

Die Pydns wird nicht mit Python 3 unterstützt. Sie müssen Python 2.7 verwenden, um damit zu arbeiten.

+0

Ich habe es bereits herausgefunden, aber danke für deine Hilfe. –