我已成功安装“curl-7.33.0-win64.msi”和“pycurl-7.19.0.2.win-amd64-py2.7.exe
运行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.

我不知道如何解决这个问题。任何帮助都将不胜感激。

最佳答案

甚至我在Python2.7.3中也遇到了同样的问题。后来我把python升级到了V2.7.8,解决了这个问题。

关于python - import pycurl ImportError:DLL加载失败:找不到指定的过程,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19975345/

10-11 04:12