当前位置:网站首页>pip安装时 fatal error C1083 无法打开包括文件 “io.h” No such file or directory
pip安装时 fatal error C1083 无法打开包括文件 “io.h” No such file or directory
2022-08-10 17:22:00 【代码的路】
报错
使用pip安装模块,出现错误:
c:\users\anaconda3\include\pyconfig.h(68): fatal error C1083: 无法打开包括文件: “io.h”: No such file or directory
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe’ failed with exit status 2
Command “C:\Users\Anaconda3\python.exe -u -c “import setuptools, tokenize;file=‘C:\Users\AppData\Local\Temp\pip-build-4u1qzu
cg\lmdb\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(‘\r\n’, ‘\n’), file, ‘exec’))” install --record C:
\Users\AppData\Local\Temp\pip-bcivjbyw-record\install-record.txt --single-version-externally-managed --compile” failed with error code 1 in
C:\Users\AppData\Local\Temp\pip-build-4u1qzucg\lmdb\
原因:无法找到io.h文件。
解决办法
首先安装Windows 10 SDK
SDK下载地址:https://developer.microsoft.com/zh-cn/windows/downloads/windows-10-sdk
默认安装即可。
然后配置路径:右键我的电脑——属性——高级系统设置——环境变量——系统变量(s),在PATH中添加:
C:\Program Files (x86)\Windows Kits\10\Include\<version>\ucrt
即可解决该问题。
学习更多编程知识,请关注我的公众号:
边栏推荐
猜你喜欢
随机推荐
excel-方方格子插件-正则表达式,快速清洗数据的方法
Talking about Taishan crowdfunding system development technical description and dapp chain crowdfunding system development analysis
unr #6day1 T2题解
leetcode:1013. 将数组分成和相等的三个部分
R语言使用ggpubr包的ggsummarystats函数可视化箱图(通过ggfunc参数设置)、在可视化图像的下方添加描述性统计结果表格、设置add参数为jitter添加抖动数据点
如何构建一个自己的代理ip池
一颗完整意义的LPWAN SOC无线通信芯片——ASR6601
leetcode:159.最多有两个不同字符的最长子串
瑞虎8 PRO产品性能分析,一文读懂究竟何为“全域动力科技旗舰”
mysql包select结果无法同步的问题
R语言使用oneway.test函数执行单因素方差分析(One-Way ANOVA)、使用数据集的子集数据进行单因素方差分析(subset函数筛选数据子集)
还在用 Xshell?你 out 了,推荐一个更现代的终端连接工具,好用到爆!
BalsnCTF2021
Your local docbook2man was found to work with SGML rather than XML
bp神经网络反向传播原理,BP神经网络反向传播
MogDB学习笔记-从2开始(MogHA)
成为一个优秀的测试工程师需要具备哪些知识和经验?
【云原生| Docker】 部署 Django & mysql 项目
软链接、硬链接——ln -s 使用
Selenium - 如何操作下拉框、弹出框、滚动条?









