是什么提供了Microsoft Visual Studio 10.0 \ VC \ include \ io.h? [英] What provides Microsoft Visual Studio 10.0\VC\include\io.h?

查看:356
本文介绍了是什么提供了Microsoft Visual Studio 10.0 \ VC \ include \ io.h?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Visual Studio 2010,这给了我C ++编译器

I installed Visual Studio 2010 and that gave me the C++ compiler

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat

但是,当我尝试构建应用程序(Python程序包)时,出现了关于丢失的错误

However when I tried to build an app (a Python package), I got an error about missing

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h

经调查,该include文件夹几乎为空(只有三个文件).

On investigation, that include folder is almost empty (just three files).

我需要安装Windows/Visual Studio的哪一部分来填充包含文件夹?

What bit of Windows / Visual Studio do I need to install to populate the include folder?

我要做什么:

pip install lxml

会发生什么

正在构建lxml版本3.3.5.
没有Cython的建筑物.
C:\ Python34 \ include \ pyconfig.h(68):致命错误C1083:无法打开包含文件:'io.h':没有此类文件或目录

Building lxml version 3.3.5.
Building without Cython.
C:\Python34\include\pyconfig.h(68) : fatal error C1083: Cannot open include file: 'io.h': No such file or directory

推荐答案

通过遵循

  • 卸载Visual Studio 2010.
  • 卸载Visual Studio 2010 SP1(尽管给出警告).
  • 打开注册表编辑器(regedit).
  • 搜索名为PaddedVersion
  • 的键
  • 删除所有父键VisualStudio\10.0\VC\Libraries或类似键(请注意与2010对应的版本号10.0).删除所有这些注册表路径.搜索PaddedVersion键只是为了简化搜索.
  • 安装Visual Studio 2010.
    • Uninstall Visual Studio 2010.
    • Uninstall Visual Studio 2010 SP1 (despite the warning it gives).
    • Open Registry Editor (regedit).
    • Search for keys named PaddedVersion
    • Remove any parent keys VisualStudio\10.0\VC\Libraries, or similar (note the version number 10.0, which corresponds to 2010). Delete all of these registry paths. The search for the PaddedVersion key is just to ease up this search.
    • Install Visual Studio 2010.

    这篇关于是什么提供了Microsoft Visual Studio 10.0 \ VC \ include \ io.h?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆