[英]ActivePython and MySQLdb
I have installed ActivePython and am trying to import MySQLdb 我已经安装了ActivePython,并试图导入MySQLdb
>> import mySQLdb
gives me an error stating No module called MySQLdb
给我一个错误,指出No module called MySQLdb
I have tried searching but all the resources out there explain how to set up the mySQLdb for unix, not for windows, can you please tell me how I can do that with ActivePython? 我已经尝试搜索,但是那里的所有资源都说明了如何为Unix(而不是Windows)设置mySQLdb,请您告诉我如何使用ActivePython来做到这一点? I am also planning to use pyDev (eclipse) from now on, how do I configure MySQLdb in both cases? 我还计划从现在开始使用pyDev(eclipse),在两种情况下如何配置MySQLdb?
Thanks 谢谢
您可以在这里找到详细的HOWTO
要安装MySQL-Python ,
pypm install mysql-python
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.