hcc*_*s19 1 c++ python visual-studio pyinsane
因此,从此处下载 pyinsane 2.0.2 软件包并进入命令窗口后,我运行了该setup.py build命令。但每次我运行它时,都会出现致命错误 C1083:
rawapi.cpp
src/pyinsane2/wia/rawapi.cpp(8): fatal error C 1083: Cannot open include file:
'atlbase.h':
no such file or directory
error: command 'C\\Program Files (x86)\\Microsoft Visual Studio\\
Visual Studio\\VC\\Tools\\MSVC\\14.12.25827\\bin\\
HostX86\\x86\\cl.exe' failed with exit status 2
Run Code Online (Sandbox Code Playgroud)
我知道这个问题以前曾多次以类似的方式被问过,但它们都不是关于我正在处理的 pyinsane 包或 atlbase.h 文件。如果我只是没有找到正确的问题,那么我将不胜感激。
是的,我已经尝试过使用,#include <atlbase>但它给了我同样的错误。我在 Windows 8.1 上使用 python 3.6.3 和 MC VS 2017。
我知道这个问题以前曾多次以类似的方式被问过,但没有一个是关于 pyinsane 包或 atlbase.h 的。
您真的寻找过解决方案吗?在 Google 中的第一次搜索尝试结果是找不到 C++ #include <atlbase.h>的第一个链接
运行 Visual Studio 安装程序时,选择“单个组件”选项卡,并在 SDK、库和框架下确保选择“Visual C++ ATL 支持” 。
| 归档时间: |
|
| 查看次数: |
5104 次 |
| 最近记录: |