当前位置:网站首页>fatal error C1083 无法打开包括文件'io.h' No such file
fatal error C1083 无法打开包括文件'io.h' No such file
2022-08-10 14:31: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
即可解决该问题。
学习更多编程知识,请关注我的公众号:
边栏推荐
- NAACL 2022 | 简单且高效!随机中间层映射指导的知识蒸馏方法
- Lack of comparators, op amps come to the rescue!(Op amp is recorded as a comparator circuit)
- 线上线下课程教学培训小程序开发制作功能介绍
- 快速了解大端模式和小端模式
- Send a post request at the front desk can't get the data
- Data product manager thing 2
- 王学岗—————————哔哩哔哩直播-手写哔哩哔哩硬编码录屏推流(硬编)(26节课)
- 微信小程序,自定义输入框与导航胶囊对其
- 2022-08-10 Daily: Swin Transformer author Cao Yue joins Zhiyuan to carry out research on basic vision models
- sql语句 异常 Err] 1064 – You have an error in your SQL syntax; check the manual that corresponds to your
猜你喜欢
随机推荐
systemui状态栏添加新图标
usb转rs485测试软件,usb转rs485「建议收藏」
高薪程序员&面试题精讲系列135之你对分布式是怎么理解的?CAP理论你知道吗?
这一次,话筒给你:向自由软件之父斯托曼 提问啦!
data product manager
PAT甲级 1014 排队等候(队列大模拟+格式化时间)
力扣解法汇总640-求解方程
2011年下半年 系统架构设计师 下午试卷 II
antd组件中a-modal设置固定高度,内容滚动显示
无线网络、HTTP缓存、IPv6
E. Cross Swapping(并查集变形/好题)
Vivado crashes or the message is not displayed
PEST 分析法
systemui屏蔽通知栏
发送post请求前台无法获取数据
"Thesis Reading" PLATO: Pre-trained Dialogue Generation Model with Discrete Latent Variable
格式化输出当前时间
leetcode 739. Daily Temperatures 每日温度(中等)
mysql进阶(三十三)MySQL数据表添加字段
【Gazebo入门教程】第三讲 SDF文件的静/动态编程建模