我仍然在学习python和所有使用第三方模块的不同方法.我已经安装了https://pypi.python.org/pypi/mysqlclient台,这是这里推荐的Python 3 and MySQL台
我相信我安装的软件包是正确的
D:\install\python modules>python -m pip install mysqlclient-1.3.6-cp34-none-win_amd64.whl
Unpacking d:\install\python modules\mysqlclient-1.3.6-cp34-none-win_amd64.whl
Installing collected packages: mysqlclient
Successfully installed mysqlclient
Cleaning up...
奇怪的是,当我try 导入模块mysqlclient时,我得到了如下结果
D:\install\python modules>python
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:16:31) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import mysqlclient
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'mysqlclient'
我查看了主页https://github.com/PyMySQL/mysqlclient-python,没有找到任何关于如何使用这个模块的例子.我很困惑,我是不是错过了这里的船?