odin1314 / yara-project

Automatically exported from code.google.com/p/yara-project
Apache License 2.0
0 stars 0 forks source link

Yara-Python DLL Load Failure #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install yara-python 1.7 - win32-py2.7
2. import yara

What is the expected output? What do you see instead?
  Results in error message: "ImportError: DLL load failed: The specified module could not be found."

What version of the product are you using? On what operating system?
  yara-python; python 2.7-win32; Win7 x64

Please provide any additional information below.
  yara.pyd exists in lib\site-packages
  Worked with yara-python 1.6 (was upgrading because of a CreateFileMapping memory leak; hoping latest version resolved the issue.

Original issue reported on code.google.com by crazydah...@gmail.com on 1 Apr 2013 at 1:39

GoogleCodeExporter commented 9 years ago
I'm suspecting that the missing module is msvcr100.dll, which yara.pyd depends 
on.  You'll probably need to install Microsoft Visual C++ 2010 Redistributable 
Package: 

http://www.microsoft.com/en-us/download/details.aspx?id=5555

Original comment by vmalva...@virustotal.com on 3 Apr 2013 at 2:59

GoogleCodeExporter commented 9 years ago
That fixed it.  I had the x64 redistributable installed, but installing the x86 
resolved the issue.  Thanks!

Original comment by crazydah...@gmail.com on 3 Apr 2013 at 3:12

GoogleCodeExporter commented 9 years ago

Original comment by plus...@gmail.com on 4 Apr 2013 at 2:25