无法安装MySQL Connector / Python?

时间:2022-07-09 10:39:58

I am using windows 64 bit and the installer file shows the error as 'Python v2.7 not found.We only support Python installed using the MSI downloaded from http://wwww.python.org/download'

我正在使用Windows 64位,安装程序文件显示错误为'找不到Python v2.7。我们只支持使用从http://wwww.python.org/download'下载的MSI安装的Python

2 个解决方案

#1


0  

before i migrated to python 3.4 from 2.7, i have used MySQLdb instead. and it worked: https://pypi.python.org/pypi/MySQL-python/1.2.5

在我从2.7迁移到python 3.4之前,我已经使用了MySQLdb。它起作用了:https://pypi.python.org/pypi/MySQL-python/1.2.5

or

要么

pip install MySQL-python

pip安装MySQL-python

#2


0  

Create this key in windows registry, should be fine: Windows Registry Editor Version 5.00

在Windows注册表中创建此密钥,应该没问题:Windows注册表编辑器版本5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath] @="c:\Python27\"

[HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Python \ PythonCore \ 2.7 \ InstallPath] @ =“c:\ Python27 \”

#1


0  

before i migrated to python 3.4 from 2.7, i have used MySQLdb instead. and it worked: https://pypi.python.org/pypi/MySQL-python/1.2.5

在我从2.7迁移到python 3.4之前,我已经使用了MySQLdb。它起作用了:https://pypi.python.org/pypi/MySQL-python/1.2.5

or

要么

pip install MySQL-python

pip安装MySQL-python

#2


0  

Create this key in windows registry, should be fine: Windows Registry Editor Version 5.00

在Windows注册表中创建此密钥,应该没问题:Windows注册表编辑器版本5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath] @="c:\Python27\"

[HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Python \ PythonCore \ 2.7 \ InstallPath] @ =“c:\ Python27 \”