ERROR: Failed building wheel for netifaces
Running setup.py clean for netifaces
Failed to build netifaces
Installing collected packages: netifaces, dnspython, win32-setctime, Werkzeug, torch, pylibsrtp, pyee, itsdangerous, google-crc32c, cryptography, click, av, aioice, websocket-client, torchvision, torchcsprng, syft-proto, sqlitedict, requests-toolbelt, PyYAML, PyNaCl, PyJWT, pyarrow, names, loguru, forbiddenfruit, flask, dpcontracts, aiortc, syft
Running setup.py install for netifaces ... error
ERROR: Command errored out with exit status 1:
错误:命令出错,退出状态为 1:命令:'C:\Users\saam\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\saam\AppData\Local\Temp\pip-install-n38dpvc6\netifaces_f5d8f5f2fe0e47cf89c8a833bc6962da\setup.py'"'"'; file ='"'"'C:\Users\saam\AppData\Local\Temp\pip-install-n38dpvc6\netifaces_f5d8f5f2fe0e47cf89c8a833bc6962da\setup.py'"'"';f = getattr(tokenize, '"'"'open' "'"', open)( file ) if os.path.exists( file ) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read( )。代替('”, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\saam\AppData\Local\Temp\pip-wheel-nd02t3mw' cwd: C:\Users\saam\AppData\Local \Temp\pip-install-n38dpvc6\netifaces_f5d8f5f2fe0e47cf89c8a833bc6962da
完整输出(11 行): 运行 bdist_wheel 运行 build 运行 build_ext 构建 'netifaces' 扩展 创建构建 创建 build\temp.win-amd64-3.9 创建 build\temp.win-amd64-3.9\Release C:\Program Files (x86) \Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWIN32=1 -DNETIFACES_VERSION=0.11 .0 -IC:\Users\saam\AppData\Local\Programs\Python\Python39\include -IC:\Users\saam\AppData\Local\Programs\Python\Python39\include -IC:\Program Files (x86)\ Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240。0\ucrt /Tcnetifaces.c /Fobuild\temp.win-amd64-3.9\Release\netifaces.obj netifaces.c C:\Users\saam\AppData\Local\Programs\Python\Python39\include\pyconfig.h(200 ):致命错误 C1083:无法打开包含文件:'basetsd.h':没有这样的文件或目录错误:命令'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29 .30133\bin\HostX86\x64\cl.exe' 失败,退出代码为 2
错误:netifaces 构建轮子失败