I am using python in win32 enviornment.i wanna add extra library for using serial port.So i have downloaded the lib for windows env.
The package is installing fine.But when ever i import serial following error i get.Can anyone please help me out...

>>> import serial

Traceback (most recent call last):
  File "<pyshell#4>", line 1, in -toplevel-
    import serial
  File "C:\Python24\serial\__init__.py", line 19, in -toplevel-
    from serialwin32 import *
  File "C:\Python24\serial\serialwin32.py", line 11, in -toplevel-
    import ctypes
ImportError: No module named ctypes
>>>

Module ctypes is new in python 2.5. I suggest that you uninstall python 2.4 and upgrade to python 2.7, then reinstall serial.

it worked...!!!Thanks a lot....!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.