当前位置:网站首页>pip安装时 fatal error C1083 无法打开包括文件 “io.h” No such file or directory
pip安装时 fatal error C1083 无法打开包括文件 “io.h” No such file or directory
2022-08-10 17:22: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
即可解决该问题。
学习更多编程知识,请关注我的公众号:
边栏推荐
猜你喜欢
随机推荐
640. 求解方程
R语言ggplot2可视化:使用ggpubr包的ggscatter函数可视化分组散点图、stat_mean函数在分组数据点外侧绘制凸包并突出显示分组均值点、自定会均值点的大小以及透明度
数据库注入提权总结(二)
nacos服务注册
DASCTF2022.07 empowerment competition WEB topic recurrence
Return the next higher prime number
docker中安装mysql
BalsnCTF2021
Your local docbook2man was found to work with SGML rather than XML
雷达存在感应器技术,实时感知控制应用,雷达人体探测方案
shell获取前n天的日期
The DGIOT platform displays the whole process code analysis of OPC reporting data in real time
电力系统潮流计算与PowerWorld仿真(牛顿拉夫逊法和高斯赛德尔法)(Matlab实现)
Selenium - 如何使用隐式、显示、强制元素等待?
基于AWS构建云上数仓第二步:AWS常见服务简介
R语言使用oneway.test函数执行单因素方差分析(One-Way ANOVA)、使用数据集的子集数据进行单因素方差分析(subset函数筛选数据子集)
R语言拟合ARIMA模型:使用forecast包中的auto.arima函数自动搜索最佳参数组合、模型阶数(p,d,q)、如果已知阶数则直接使用arima函数构建模型(order参数指定阶数)
Redis下载安装教程 (windows)
leetcode:340.至多包含K个不同字符的最长子串
Quicker+沙拉查词使用









