title: Python M2Crypto DLLs load failed, The specified module could not be found
body: <p>I'm trying to use this slice for my web2py app
  <a href="http://www.web2pyslices.com/slices/take_slice/106" rel="nofollow">http://www.web2pyslices.com/slices/take_slice/106</a></p>
  
  <p>i installed the module M2Crypto and followed the slice, when loading the page i receive this error</p>
  
  <pre><code>Traceback (most recent call last):
    File "F:\Projects\Web2py\w1992\gluon\restricted.py", line 194, in restricted
      exec ccode in environment
    File "F:\Projects\Web2py\w1992\applications\internet2letter\views\account/order.html", line 102, in &lt;module&gt;
    File "F:\Projects\Web2py\w1992\gluon\custom_import.py", line 294, in __call__
      fromlist, level)
    File "F:\Projects\Web2py\w1992\gluon\custom_import.py", line 78, in __call__
      level)
    File "applications\internet2letter\modules\crypt.py", line 2, in &lt;module&gt;
      from M2Crypto import BIO, SMIME, X509, EVP
    File "F:\Projects\Web2py\w1992\gluon\custom_import.py", line 294, in __call__
      fromlist, level)
    File "F:\Projects\Web2py\w1992\gluon\custom_import.py", line 78, in __call__
      level)
    File "C:\Python27\lib\site-packages\M2Crypto\__init__.py", line 22, in &lt;module&gt;
      import __m2crypto
    File "F:\Projects\Web2py\w1992\gluon\custom_import.py", line 294, in __call__
      fromlist, level)
    File "F:\Projects\Web2py\w1992\gluon\custom_import.py", line 78, in __call__
      level)
  ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
  </code></pre>
  
  <p>so i tried to import the module from Python direcktly
  i opened the terminal and put</p>
  
  <pre><code>&gt;&gt;&gt; import M2Crypto
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "C:\Python27\lib\site-packages\M2Crypto\__init__.py", line 23, in &lt;module
  &gt;
      import m2
    File "C:\Python27\lib\site-packages\M2Crypto\m2.py", line 28, in &lt;module&gt;
      from __m2crypto import *
  ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
  &gt;&gt;&gt;
  </code></pre>
  
  <p>anyway to solve this ??</p>