为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:
【操作系统】:
【CPU】:
【问题描述】*:
在linux上安装dmPython。将windows中安装的达梦的bin、include、drivers复制进去,然后在.bashrc中添加了环境变量。执行python setup.py install时报该错误:
distutils.errors.DistutilsSetupError: Dameng home (/home/rwj/dmdba) does not refer to an DM8.1 installation or dmdpi library missing.
将windows中安装的达梦的bin、include、drivers拷贝到linux。 操作系统不同 库文件不通用的。
安装linux版 然后拷贝即可