Skip to main content
GameDev.net gamedev.net
šŸ”’ Locked

error while importing module

Started by koka282 Dec 12, 2014 at 1:30 PM 1 replies 2.9k views
Original Post
koka282
koka282

hi all smile.png

i have little problem here smile.png


import pyHook , pythoncom ,sys , logging

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import pyHook , pythoncom ,sys , logging
  File "C:\Python27\lib\site-packages\pythoncom.py", line 2, in <module>
    import pywintypes
  File "C:\Python27\lib\site-packages\win32\lib\pywintypes.py", line 124, in <module>
    __import_pywin32_system_module__("pywintypes", globals())
  File "C:\Python27\lib\site-packages\win32\lib\pywintypes.py", line 64, in __import_pywin32_system_module__
    import _win32sysloader
ImportError: DLL load failed: %1 is not a valid Win32 application.

Thanks :)

Hollower
Hollower

This happens when you have an incompatible version of a package. Usually 32-bit vs 64-bit.

Google says the same.

When you get an error first thing you should do is search it.

koka282
koka282

i searched before and i saw some typed this for 64 bit then i got this error ! :)

Thanks :)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.