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.
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:
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.