Skip to content

Idapython cannot load _igraph.pyd module in python-igraph correctly. #98

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. I install the python-igraph on windows xpsp3, the version is 
   python-igraph-0.6.5.win32-py2.6.msi (md5)
2. I try to import igraph using idapython in idapro6.2


What is the expected output? What do you see instead?

I should work when i import igraph like "import igraph". However, it shows the 
error as following:
****************************
Python>import _igraph
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: DLL load failed: A dynamic link library (DLL) initialization 
routine failed.
******************************

I also try to import igraph using python2.6, it works. I really do not know why 
it failed in idapython. 

What version of the product are you using? On what operating system?
I use Python 2.6.5, IDAPython v1.5.3 final (serial 0), IDA pro 6.2

Please provide any additional information below.
I searched some information about this error, they mentioned that this is 
because idapro uses msvcr100.dll which is conflicted with msvcr90.dll used in 
_igraph.pyd in python-igraph. However, i found _ctypes.dll also use 
msvcr90.dll, but it can be loaded correctly.

Thank very much.

Original issue reported on code.google.com by qianfeng...@gmail.com on 14 Jan 2015 at 12:53

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions