473,387 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

i want to use python32(32bit)+pyserial2.6+pywin32(32bit)+windows 7(64bit) to run with arduino,but the error as above,i dont know how to fix
Expand|Select|Wrap|Line Numbers
  1. >>> import serial
  2. Traceback (most recent call last):
  3.   File "<stdin>", line 1, in <module>
  4.   File "D:\dev\Python32\lib\site-packages\serial\__init__.py", line 19, in <module>
  5.     from serialwin32 import *
  6.   File "D:\dev\Python32\Lib\site-packages\serial\serialwin32.py", line 11, in <module>
  7.     import ctypes
  8.   File "D:\dev\Python32\lib\ctypes\__init__.py", line 7, in <module>
  9.     from _ctypes import Union, Structure, Array
  10. ImportError: DLL load failed: %1 not a win32 application。
  11. >>> 
Aug 14 '13 #1
1 2362
You need to get 64 bit versions for python.
Aug 21 '13 #2

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.