pyserial not installed properly for python3

Bug #1110850 reported by Mathias-bavay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyserial (Ubuntu)
New
Undecided
Unassigned

Bug Description

On Ubuntu Quantal 12.10, when running with the provided pyserial python package, calling "serial" produces an error message:
File "/usr/share/pyshared/serialposix.py", line 64
    50: 0000001,
                   ^
SyntaxError: invalid token

This is because pyserial has been installed (by/for the package) by doing "python setup.py install" instead of "python3 setup.py install". A manual installation of pyserial, properly installing it with python3 solves the problem.

Moreover, python packages installed in "/usr/share/pyshared" are not recognized, one need to manually add "sys.path.append('/usr/share/pyshared')" to all python programs.

This is for python-serial 2.5.3 on KUbuntu Quantal 12.10

Tags: 12.10 quantal
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.