New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Windws XP not support CancelIO #148

mengyyy opened this Issue Aug 11, 2016 · 4 comments


None yet
4 participants

mengyyy commented Aug 11, 2016

I just want to know which version i can use in Windows xp (SP2).
Thanks a lot


This comment has been minimized.

mengyyy commented Aug 11, 2016

Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import serial
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\lib\site-packages\", line 27, in
from serial.serialwin32 import Serial
File "C:\Python27\lib\site-packages\serial\", line 15, in
from serial import win32
File "C:\Python27\lib\site-packages\serial\", line 182, in
CancelIoEx = stdcall_libraries['kernel32'].CancelIoEx
File "C:\Python27\lib\ctypes__init", line 375, in getattr
func = self.getitem(name)
File "C:\Python27\lib\", line 380, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'CancelIoEx' not found


This comment has been minimized.


zsquareplusc commented Aug 12, 2016

Windows XP is not supported by pySerial 3.x, you could however use an older version. I have added links to older versions on that page. e.g. 2.7 should work.


This comment has been minimized.

WorldException commented Oct 13, 2016


This comment has been minimized.

ogurets commented May 17, 2017

I've had version 3.1.1 working fine on XP, you could try starting from this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment