当前位置:网站首页>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
即可解决该问题。
学习更多编程知识,请关注我的公众号:

边栏推荐
- PEST 分析法
- PyTorch multi-machine multi-card training: DDP combat and skills
- "Thesis Reading" PLATO: Pre-trained Dialogue Generation Model with Discrete Latent Variable
- PHP 判断文件是否有内容,没有内容则复制另一个文件写入
- A method that can make large data clustering 2000 times faster
- 解读STEAM教育中的表现性评价
- sql语句 异常 Err] 1064 – You have an error in your SQL syntax; check the manual that corresponds to your
- 容器化 | 在 S3 实现定时备份
- How does vue clear the tab switching cache problem?
- systemui屏蔽通知栏
猜你喜欢
随机推荐
等保2.0一个中心三重防护指的是什么?如何理解?
【JS高级】ES5标准规范之创建子对象以及替换this_10
开源SPL消灭数以万计的数据库中间表
EVE模拟器的使用-带图超详细(学网络用)「建议收藏」
自定义picker滚动选择器样式
Lithium battery technology
实现一个深克隆
【MinIO】Using tools
systemui屏蔽通知栏
MySQL advanced (thirty-three) MySQL data table adding fields
1004 (tree array + offline operation + discretization)
兆骑科创创业赛事活动发布平台,创业赛事,项目路演
ICML 2022 | 基于随机注意力机制的可解释可泛化图学习
tensorflow安装踩坑总结
High-paid programmers & interview questions series 135 How do you understand distributed?Do you know CAP theory?
司空见惯 - 股市狠狠下跌后,何時能反弹?
How does vue clear the tab switching cache problem?
antd组件中a-modal设置固定高度,内容滚动显示
高薪程序员&面试题精讲系列135之你对分布式是怎么理解的?CAP理论你知道吗?
容器化 | 在 S3 实现定时备份