解决ImportError: Module use of python36.dll conflicts with this version of Python

问题:

本地 python运行代码时,一直报错,错误信息如截图所示:大意是本地导入的库文件与python36有冲突

解决ImportError: Module use of python36.dll conflicts with this version of Python_第1张图片

因为本地python版本一直是2.7版本,打开cmd运行python,导入模块都是正常的,查看python的path路径也是正常的,怎么会有python36.dll文件呢?

全局搜索文件,本地安装的airtest下有此文件,于是将airtest删除,即可正常运行python脚本

你可能感兴趣的:(python)