[英]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 找到了我的解决方案。
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 之前,我还尝试了以下操作:
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.