3
我已經成功地安裝「curl-7.33.0-win64.msi」和「pycurl-7.19.0.2.win-amd64-py2.7.exe」進口pycurl導入錯誤:DLL加載失敗:指定的程序無法找到
我得到了以下錯誤,當我運行python腳本
import pycurl importError: DLL load failed: The specified procedure could not be found
File "C:\cc_stg\Git\bugzilla\cgi-bin\newbugs_lag.py", line 3, in <module>
import create_bugzillas
File "C:\cc_stg\Git\bugzilla\cgi-bin\create_bugzillas.py", line 2, in <module>
import bugzilla
File "C:\cc_stg\Git\bugzilla\cgi-bin\bugzilla\__init__.py", line 21, in <module>
from bugzilla.base import BugzillaError
File "C:\cc_stg\Git\bugzilla\cgi-bin\bugzilla\base.py", line 19, in <module>
import pycurl
ImportError: DLL load failed: The specified procedure could not be found.
我不知道如何解決這個問題。任何幫助將不勝感激。
你檢查curl和pycurl的版本是否兼容嗎? (來自例如pycurl的發行說明文檔) –
pycurl 7.19以捲曲7.33工作。但是,特定的預構建的pycurl二進制包可能不會。 – abarnert
另外,在鏈接頁面(官方curl下載頁面)上,我沒有看到任何名爲'curl-7.33.0-win64.msi'的東西。有一個帶'-nossl'後綴,另一個帶有'ssl-sspi'後綴,以及一些指向外部頁面的鏈接。那麼......你下載了哪一個? – abarnert