我正在尝试在python中导入MySQLdb。我检查并跟踪了所有可能的解决方案,但仍然无法导入它。我有Windows 8.1。于是我重新开始,我安装了python的最新版本(2.7.8),设置了路径和pythonpath变量,然后尝试从链接()安装MySQL-python-1.2.5.win- and 64-py2.7。
我正在尝试安装和使用新的Python包,例如mysqlCollecting mysqlNote: you may need to restart the kernelUsing cached mysql-0.0.3-py3-none-any.whl (1.2 kB) Using cached mysqlclient-: No module named 'mysql'