当前位置:网站首页>fatal error C1083 Unable to open include file 'io.h' No such file
fatal error C1083 Unable to open include file 'io.h' No such file
2022-08-10 14:53:00 【the way of code】
报错
使用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
即可解决该问题.
学习更多编程知识,请关注我的公众号:

边栏推荐
- How to code like a pro in 2022 and avoid If-Else
- EVE模拟器的使用-带图超详细(学网络用)「建议收藏」
- leetcode 739. Daily Temperatures Daily Temperatures (Moderate)
- 正则表达式(包含各种括号,echo,正则三剑客以及各种正则工具)
- systemui屏蔽通知栏
- E. Cross Swapping(并查集变形/好题)
- antd组件中a-modal设置固定高度,内容滚动显示
- 2022-08-10 Daily: Swin Transformer author Cao Yue joins Zhiyuan to carry out research on basic vision models
- data product manager
- 强意识 压责任 安全培训筑牢生产屏障
猜你喜欢
win2012安装Oraclerac失败
面试面到了一个腾讯30k出来的,有见识到何为精通MySQL调优
awk的简单使用
Flask框架——MongoEngine使用MongoDB数据库
PyTorch multi-machine multi-card training: DDP combat and skills
PyTorch 多机多卡训练:DDP 实战与技巧
Classifying irises using decision trees
laravel throws the error to Dingding
微信小程序,自定义输入框与导航胶囊对其
王学岗—————————哔哩哔哩直播-手写哔哩哔哩硬编码录屏推流(硬编)(26节课)
随机推荐
Summary of tensorflow installation stepping on the pit
BCG库简介
网络安全(加密技术、数字签名、证书)
领域驱动模型设计与微服务架构落地-从项目去剖析领域驱动
线上线下课程教学培训小程序开发制作功能介绍
sql语句 异常 Err] 1064 – You have an error in your SQL syntax; check the manual that corresponds to your
面试面到了一个腾讯30k出来的,有见识到何为精通MySQL调优
第五讲 测试技术与用例设计
Flask框架——基于Celery的后台任务
AWS Security Fundamentals
SQL学习(基础)
字节终面:CPU 是如何读写内存的?
产品使用说明书小程序开发制作说明
leetcode 739. Daily Temperatures Daily Temperatures (Moderate)
Mysql语句分析、存储引擎、索引优化等详情
PAT甲级 1014 排队等候(队列大模拟+格式化时间)
奢侈品鉴定机构小程序开发制作功能介绍
等保2.0一个中心三重防护指的是什么?如何理解?
每个月工资表在数据库如何存储?求一个设计思路
Alibaba的秒杀系统—千亿级并发设计手册上线了