DLL load failed: %1 is not a valid Win32 application

Issue #1480 resolved
Former user created an issue

I installed satchmo in windows 7 64bit and installed python 2.7 32bit.when i run python clonesatchmo.py i got the below traceback.

Traceback (most recent call last):
  File "manage.py", line 27, in <module>
    execute_manager(settings)
  File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line
459, in execute_manager
    utility.execute()
  File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line
382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\Python27\lib\site-packages\django\core\management\base.py", line 196,
 in run_from_argv
    self.execute(*args, **options.__dict__)
  File "C:\Python27\lib\site-packages\django\core\management\base.py", line 231,
 in execute
    self.validate()
  File "C:\Python27\lib\site-packages\django\core\management\base.py", line 266,
 in validate
    num_errors = get_validation_errors(s, app)
  File "C:\Python27\lib\site-packages\django\core\management\validation.py", lin
e 30, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 158, in
 get_app_errors
    self._populate()
  File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 67, in
_populate
    self.load_app(app_name)
  File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 88, in
load_app
    models = import_module('.models', app_name)
  File "C:\Python27\lib\site-packages\django\utils\importlib.py", line 35, in im
port_module
    __import__(name)
  File "c:\src\satchmo\satchmo\apps\payment\models.py", line 6, in <module>
    from Crypto.Cipher import Blowfish
  File "C:\Python27\lib\site-packages\Crypto\Cipher\Blowfish.py", line 56, in <m
odule>
    from Crypto.Cipher import _Blowfish
ImportError: DLL load failed: %1 is not a valid Win32 application.
Error: Can not copy the static files.
Error: Can not syncdb.

I googled and tried with some suggestion still the error is their.Need help

Comments (2)

  1. Log in to comment