当前位置:网站首页>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
- 2022年网络安全培训火了,缺口达95%,揭开网络安全岗位神秘面纱
- 使用Uiautomator2进行APP自动化测试
- 蓝帽杯半决赛火炬木wp
- How to code like a pro in 2022 and avoid If-Else
- 奢侈品鉴定机构小程序开发制作功能介绍
- Open source SPL wipes out tens of thousands of database intermediate tables
- 第三方软件测评有什么作用?权威软件检测机构推荐
- leetcode 739. Daily Temperatures Daily Temperatures (Moderate)
猜你喜欢
重要通知 | “移动云杯”算力网络应用创新大赛初赛延期!!
PyTorch multi-machine multi-card training: DDP combat and skills
关于已拦截跨源请求CORS 头缺少 ‘Access-Control-Allow-Origin‘问题解决
字节终面:CPU 是如何读写内存的?
富爸爸穷爸爸之读书笔记
Flask框架——MongoEngine使用MongoDB数据库
王学岗—————————哔哩哔哩直播-手写哔哩哔哩硬编码录屏推流(硬编)(26节课)
awk的简单使用
物资采购小程序开发制作功能介绍
面试面到了一个腾讯30k出来的,有见识到何为精通MySQL调优
随机推荐
redhat替换yum源时redhat.repo无法删除或无法禁用的问题解决方法
学习MySQL 临时表
A method that can make large data clustering 2000 times faster
Epoll learn to think: a high performance server processing framework
高薪程序员&面试题精讲系列135之你对分布式是怎么理解的?CAP理论你知道吗?
使用决策树对鸢尾花进行分类
Classifying irises using decision trees
舵机内部结及工作原理浅析[通俗易懂]
这一次,话筒给你:向自由软件之父斯托曼 提问啦!
网络初识(二)
基于inotify实现落盘文件的跨进程实时读写交互
Circle 创始人回应美财政部禁止 Tornado :隐私与安全之间关系紧张
systemui状态栏添加新图标
DB2查询2个时间段之间的所有月份,DB2查询2个时间段之间的所有日期
网络安全(加密技术、数字签名、证书)
波士顿房价预测
等保2.0一个中心三重防护指的是什么?如何理解?
解读STEAM教育中的表现性评价
sql语句 异常 Err] 1064 – You have an error in your SQL syntax; check the manual that corresponds to your
AWS Security Fundamentals