#35 2.5 RC2 on Python 3.1.2

v1.0 (example)
closed
Chris Liechti
None
5
2013-10-11
2010-07-19
Anonymous
No

I'm running OSX 10.6 with Python 3.1.2

I installed pyserial with:
python3 setup.py install

When I "import serial" I get this in return:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "serial/__init__.py", line 21, in <module>
from serialposix import *
ImportError: No module named serialposix

Any idea on how to fix this?

Thanks!

Discussion

  • Chris Liechti
    Chris Liechti
    2013-10-11

    pySerial 2.6 and newer automatically uses 2to3 in setup.py to convert the files t python 3 syntax. This should solve this issue.

     
  • Chris Liechti
    Chris Liechti
    2013-10-11

    • status: open --> closed
    • assigned_to: Chris Liechti
    • Group: --> v1.0 (example)