[pyserial 2.5RC2, win32] No Serial class
Brought to you by:
cliechti
After freshly installing pyserial 2.5 RC2 via the windows installer on Win XP with Python 2.6.4 and trying out the "short introduction" I get the following error:
AttributeError: 'module' object has no attribute 'Serial'
What could be the reason? As site-packages is on the PYTHONPATH the Serial class should be available.
Thx,
Chris
Do you have an other module named serial.py in your python path? or did you name your test script like that?
Does the following return the file you expect? (it should return a path containing ".../serial/__init__.py[c]"
>>> import serial
>>> serial.__file__
Stupid me: the test package was named 'serial'. Thx a lot!