简体   繁体   English

致命错误 C1083:无法打开包含文件:'io.h':没有这样的文件或目录

[英]fatal error C1083: Cannot open include file: 'io.h': No such file or directory

I'm trying to install a program from pip install SimPEGEM1D and I getting the error " fatal error C1083: Cannot open include file: 'io.h': No such file or directory"我正在尝试从 pip install SimPEGEM1D 安装程序,我收到错误“致命错误 C1083:无法打开包含文件:'io.h':没有这样的文件或目录” 在此处输入图像描述 I already have tried the suggestion from 'io.h': No such file or directory我已经尝试过'io.h'的建议:没有这样的文件或目录

but didn't work, I have visual studio 2017 and anaconda.但没用,我有 Visual Studio 2017 和 anaconda。 I went to my directory and there is no io.h file there, so did I miss something when I installed visual studio?我去了我的目录,那里没有 io.h 文件,所以我在安装 Visual Studio 时错过了什么? How do I fix that?我该如何解决? 在此处输入图像描述

TL;DR: Update or reinstall Visual Studio https://visualstudio.microsoft.com/visual-cpp-build-tools/ TL;DR:更新或重新安装 Visual Studio https://visualstudio.microsoft.com/visual-cpp-build-tools/

I'm sure you've already solved this problem given the time discrepancy.鉴于时间差异,我相信您已经解决了这个问题。 However, I ran into this problem today and found my solution by reinstalling Visual Studio.但是,我今天遇到了这个问题,并通过重新安装 Visual Studio 找到了我的解决方案。

对我有用的 Visual Studio 版本。

Error I was receiving:我收到的错误:

h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory

Please note I also tried the following before reinstalling Visual Studio:请注意,在重新安装 Visual Studio 之前,我还尝试了以下操作:

  1. Pip/Pip3点/点3
  2. Wheels轮子
  3. Setuptools设置工具
  4. (verified Environment PATH/variables) (经过验证的环境路径/变量)

As of current Time and Date, you will be able to find the most up-to-date version of Visual Studio cpp-Build-Tools here: https://visualstudio.microsoft.com/visual-cpp-build-tools/截至当前时间和日期,您将能够在此处找到最新版本的 Visual Studio cpp-Build-Tools: https : //visualstudio.microsoft.com/visual-cpp-build-tools/

i installed 2019 and then 2022 serval time all cleaned then repeat but nothing working always same error with admin right and without too我安装了 2019 年,然后安装了 2022 年的服务时间全部清理然后重复,但没有任何工作总是与管理员权限相同的错误,也没有

i was using pycharm and did installation from pychram console and it's worked我正在使用 pycharm 并从 pychram 控制台进行安装,它的工作

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Could not install pycocotools in windows: fatal error C1083: Cannot open include file: 'io.h': No such file or directory 错误: - Could not install pycocotools in windows: fatal error C1083: Cannot open include file: 'io.h': No such file or directory error: 编译Cython代码产生...致命错误C1083:无法打开包含文件:'io.h' - Compiling Cython code yields… fatal error C1083: Cannot open include file: 'io.h' 致命错误 C1083:无法打开包含文件:“mecab.h”:没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'mecab.h': No such file or directory 致命错误C1083:无法打开包含文件:'openssl / opensslv.h':没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory 致命错误 C1083:无法打开包含文件:'dlfcn.h':没有这样的文件或目录 PyLPSolve - fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory PyLPSolve MySQLdb/_mysql.c(29): 致命错误 C1083: 无法打开包含文件: 'mysql.h': 没有这样的文件或目录 - MySQLdb/_mysql.c(29): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory snappy/snappymodule.cc(31): 致命错误 C1083: 无法打开包含文件: 'snappy-c.h': 没有那个文件或目录 - snappy/snappymodule.cc(31): fatal error C1083: Cannot open include file: 'snappy-c.h': No such file or directory 在 Windows x64 中运行 Cython - 致命错误 C1083:无法打开包含文件:'basetsd.h':没有这样的文件或目录 - Running Cython in Windows x64 - fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory Python pip install kivy致命错误C1083:无法打开包含文件:'GL / glew.h':没有这样的文件或目录 - Python pip install kivy fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory 安装 pygrahviz 的问题“致命错误 C1083:无法打开包含文件:‘graphviz/cgraph.h’:没有此类文件或目录” - Issues installing pygrahviz "fatal error C1083: Cannot open include file: 'graphviz/cgraph.h': No such file or directory"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM