简体   繁体   中英

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" 在此处输入图像描述 I already have tried the suggestion from 'io.h': No such file or directory

but didn't work, I have visual studio 2017 and anaconda. I went to my directory and there is no io.h file there, so did I miss something when I installed visual studio? How do I fix that? 在此处输入图像描述

TL;DR: Update or reinstall 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 版本。

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:

  1. Pip/Pip3
  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/

i installed 2019 and then 2022 serval time all cleaned then repeat but nothing working always same error with admin right and without too

i was using pycharm and did installation from pychram console and it's worked

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM