2016-11-29 68 views
0

我使用python 2.7.6,在我的代碼,我有一句臺詞:如何在64位Windows 7上安裝python_ldap?

import psycopg2.extensions 

,我一直在使用PIP安裝。接下來,我的編輯告訴我,psycopg2需要python_ldap = 2.4.19。 但是,在PyPI存儲庫中,只有一個32位版本,這是行不通的,因爲我的Windows是64位。 有python_ldap = 2.4.28,avaliable here的64位版本,但是運行

pip install python_ldap-2.4.28-cp27-cp27m-win_amd64.whl 
在windows命令行

返回

python_ldap-2.4.28-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform. 
紅色

,我想是一個錯誤meassage。 因此,最後,我應該怎麼做才能在我的筆記本電腦上安裝軟件包?

回答