当前位置:网站首页>pip install fatal error C1083 cannot open include file "io.h" No such file or directory
pip install fatal error C1083 cannot open include file "io.h" No such file or directory
2022-08-10 17:48:00 【the way of code】
Error
Using pip to install the module, an error occurred:
c:\users\anaconda3\include\pyconfig.h(68): fatal error C1083: cannot open include file: "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\
Reason: The io.h file could not be found.
Solution
Install the Windows 10 SDK first
SDK download address: https://developer.microsoft.com/zh-cn/windows/downloads/windows-10-sdk
It can be installed by default.
Then configure the path: right click on my computer - properties - advanced system settings - environment variables - system variable(s), add in PATH:
C:\Program Files (x86)\Windows Kits\10\Include\\ucrt
This problem can be solved.
Learn more programming knowledge, please pay attention to my public account:
边栏推荐
猜你喜欢
随机推荐
leetcode:159.最多有两个不同字符的最长子串
程序员兼职踩到的坑,本人亲身经历
符合信创要求的堡垒机有哪些?支持哪些系统?
ZLMediaKit 服务器源码解读---RTSP推流拉流
讯飞翻译机抢镜背后,跨语种沟通迈入全新时代
百日刷题挑战--错题01day
LeetCode 0640.求解方程:过几天就看不懂了的迷惑性代码,但是是详解
JNDI与RMI、LDAP
软链接、硬链接——ln -s 使用
多线程与高并发(11)——经典面试题之实现一个容器,提供两个方法,add,size。
【无标题】
DASCTF2022.07 empowerment competition WEB topic recurrence
defi质押借贷理财挖矿dapp系统开发逻辑
leetcode:340.至多包含K个不同字符的最长子串
perl编码转换
2021强网杯
R语言ggplot2可视化:使用ggpubr包的text_grob函数和as_ggplot函数可视化文本段落(将指定文本段落可视化出来、指定文本段可视化为图像)、face参数指定文本的字体样式
Pytorch GPU模型推理时间探讨
还在用 Xshell?你 out 了,推荐一个更现代的终端连接工具,好用到爆!
DGIOT平台实时展示OPC上报数据全流程代码剖析