gpt4 book ai didi

python - 'io.h' : No such file or directory during "pip install netifaces"

转载 作者:太空狗 更新时间:2023-10-29 19:27:13 26 4
gpt4 key购买 nike

我尝试通过以下方式在 Python 3.6.2 中安装 netifaces:

pip install netifaces

但是当我在 cmd 中运行它时,我得到了这个错误:

c:\users\seyed_vahid\appdata\local\programs\python\python36\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe' failed with exit status 2

我该如何解决?

最佳答案

尝试打开 VS Installer 并安装类似的东西

VC++ 2015 v140 toolset

关于python - 'io.h' : No such file or directory during "pip install netifaces",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45904828/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com