尝试安装pyDNS for python 2.7时出错

2024-06-02 06:49:02 发布

您现在位置:Python中文网/ 问答频道 /正文

当我尝试通过“pip install pyDNS安装pyDNS”来安装pyDNS时,我得到:

ERROR: Command errored out with exit status 1:
 command: 'c:\users\עידן\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\עידן\\AppData\\Local\\Temp\\pip-install-856byly1\\pydns\\setup.py'"'"'; __file__='"'"'C:\\Users\\עידן\\AppData\\Local\\Temp\\pip-install-856byly1\\pydns\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
     cwd: C:\Users\עידן\AppData\Local\Temp\pip-install-856byly1\pydns\
Complete output (7 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\עידן\AppData\Local\Temp\pip-install-856byly1\pydns\setup.py", line 12, in <module>
    import DNS
  File "C:\Users\עידן\AppData\Local\Temp\pip-install-856byly1\pydns\DNS\__init__.py", line 14, in <module>
    import Type,Opcode,Status,Class
ModuleNotFoundError: No module named 'Type'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check 
the logs for full command output.

Tags: installpippyimportinfoegglocalsetup