python32(32bit)+pyserial2.6+pywin32(32bit)+windows 7(64bit)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jameswq
    New Member
    • Aug 2013
    • 1

    python32(32bit)+pyserial2.6+pywin32(32bit)+windows 7(64bit)

    i want to use python32(32bit) +pyserial2.6+py win32(32bit)+wi ndows7(64bit) to run with arduino,but the error as above,i dont know how to fix
    Code:
    >>> import serial
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "D:\dev\Python32\lib\site-packages\serial\__init__.py", line 19, in <module>
        from serialwin32 import *
      File "D:\dev\Python32\Lib\site-packages\serial\serialwin32.py", line 11, in <module>
        import ctypes
      File "D:\dev\Python32\lib\ctypes\__init__.py", line 7, in <module>
        from _ctypes import Union, Structure, Array
    ImportError: DLL load failed: %1 not a win32 application。
    >>>
  • univercel
    New Member
    • Aug 2013
    • 11

    #2
    You need to get 64 bit versions for python.

    Comment

    Working...