windows下 安装python_ldap MySQL-python
////////////////////////////////////////////////////
失败
----------------------------------------
Failed building wheel for mysql-python
----------------------------------------
Failed building wheel for python-ldap
//////////////////解决
去下载,然后将python_ldap-2.5.2-cp27-cp27m-win_amd64.whl 放在Envs 的某个虚拟环境里
//https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-ldap
(openfalcon2.7) C:\home>cd Envs
(openfalcon2.7) C:\home\Envs>cd openfalcon2.7
(openfalcon2.7) C:\home\Envs\openfalcon2.7>pip install python_ldap-2.5.2-cp27-cp
27m-win_amd64.whl
Processing c:\home\envs\openfalcon2.7\python_ldap-2.5.2-cp27-cp27m-win_amd64.whl
Requirement already satisfied: setuptools in c:\home\envs\openfalcon2.7\lib\site
-packages (from python-ldap==2.5.2) (39.0.1)
Installing collected packages: python-ldap
Successfully installed python-ldap-2.5.2
(openfalcon2.7) C:\home\Envs\openfalcon2.7>pip install MySQL_python-1.2.5-cp27-n
one-win_amd64.whl
Processing c:\home\envs\openfalcon2.7\mysql_python-1.2.5-cp27-none-win_amd64.whl
Installing collected packages: MySQL-python
Successfully installed MySQL-python-1.2.5

浙公网安备 33010602011771号