Public bug reported:

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

** Affects: pyserial (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: 12.10 quantal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1110850

Title:
  pyserial not installed properly for python3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyserial/+bug/1110850/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to