windows 安装达梦数据库Python 报错:fatal error C1083: Cannot open include file: ‘DPI.h‘: No such file or direc

报错:
c:\dmdms program\drivers\python\dmpython\strct.h(18): fatal error C1083: Cannot open include file: ‘DPI.h’: No such file or directory
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe’ failed with exit status 2

解决方案:
将达梦安装目录的$DM_HOME/include目录,加入到系统环境变量
windows 安装达梦数据库Python 报错:fatal error C1083: Cannot open include file: ‘DPI.h‘: No such file or direc_第1张图片

你可能感兴趣的:(windows,python,数据库)