【发布时间】:2016-04-01 09:30:39
【问题描述】:
我正在尝试使用此处的示例代码:
http://www.pymssql.org/en/latest/pymssql_examples.html
我使用pip 安装了 pymmsql 模块。我也在 site-packages 文件夹中看到它
C:\Python27\Lib\site-packages\pymmsql.pyd
但是,当我执行代码时,出现以下错误:
Traceback (most recent call last):
File "C:\Android\android_workspace\pythonProject\test.py", line 2, in <module>
import pymssql
ImportError: DLL load failed: The specified module could not be found.
我错过了什么?
【问题讨论】:
-
你是怎么安装mysql的?
-
我没有安装mysql,我安装了python的pymmsql模块。
-
我尝试通过cmd安装whl文件,报错:pymssql-2.1.2-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
-
您是否安装了必需品? pymssql.org/en/latest/freetds.html#windows
标签: python python-3.x python-2.x pymssql