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

边栏推荐
猜你喜欢
随机推荐
Second half of 2011 System Architect Afternoon Paper II
正则表达式(包含各种括号,echo,正则三剑客以及各种正则工具)
AWS Security Fundamentals
紫金示例
Alibaba的秒杀系统—千亿级并发设计手册上线了
DB2查询2个时间段之间的所有月份,DB2查询2个时间段之间的所有日期
一汽奥迪:持续34年聚焦品质与体验 立足市场需求推进产品迭代
从全球价值链视角看,京东云数智供应链对未来经济有何影响?
【有限元分析】异型密封圈计算泄漏量与参数化优化过程(带分析源文件)
机器学习总结(一)
PHP judges whether the file has content, and if there is no content, copy another file to write
How to code like a pro in 2022 and avoid If-Else
Steam教育在新时代中综合学习论
C#实现访问OPC UA服务器
MySQL advanced (thirty-three) MySQL data table adding fields
$‘\r‘: command not found
容器化 | 在 S3 实现定时备份
网络初识(二)
缺少比较器,运放来救场!(运放当做比较器电路记录)
MySQL - 数据库的存储引擎
![[Gazebo Introductory Tutorial] Lecture 3 Static/Dynamic Programming Modeling of SDF Files](/img/ec/87566763daf7faa3769ee186f93ee0.jpg)








