问题描述
我正在按照pycairo安装说明进行操作: http://www.cs.rhul.ac .uk/home/tamas/development/igraph/tutorial/install.html 安装用于igraph的pycairo.
I'm following the pycairo installation instructions here :http://www.cs.rhul.ac.uk/home/tamas/development/igraph/tutorial/install.htmlto install pycairo for use with igraph.
但是,即使运行安装程序并按照说明将所有DLL解压缩/复制到site-packages cairo目录中,我仍然会收到以下错误消息:
However, even after running the installer and unzipping/copying all DLL's into the site-packages cairo directory according to the instructions, I still get the following error:
>>> import cairo
Traceback (most recent call last):
File "", line 1, in
File "c:\Python26\lib\site-packages\cairo__init__.py", line 1, in
from _cairo import *
ImportError: DLL load failed: The specified module could not be found.
>>>
我正在Windows 7下运行python 2.6.6.
I am running python 2.6.6 under Windows 7.
有什么想法吗?
推荐答案
在 Dependency Walker 中打开_cairo.pyd并找出丢失的内容.
Open _cairo.pyd in Dependency Walker and figure out what it's missing.
这篇关于pycairo“导入错误:DLL加载失败:找不到指定的模块."即使安装了DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!