vmware-archive / salt-windows-install

Open source installer for Windows
saltstack.org
BSD 2-Clause "Simplified" License
75 stars 39 forks source link

M2Crypto not working #31

Open louy2 opened 8 years ago

louy2 commented 8 years ago

I only need M2Crypto. After installation, if I try to import it in the REPL, it reports:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\M2Crypto\__init__.py", line 22, in <module>
    import __m2crypto
ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。

The last line translates to Not valid Win32 application.. The file involved is __m2crypto.pyd in the same directory. Opening it shows

This program cannot be run in DOS mode.