[Bug 1110850] [NEW] pyserial not installed properly for python3

Mathias-bavay 1110850 at bugs.launchpad.net
Wed Jan 30 22:45:21 UTC 2013


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
Foundations Bugs, which is subscribed to pyserial in Ubuntu.
https://bugs.launchpad.net/bugs/1110850

Title:
  pyserial not installed properly for python3

Status in “pyserial” package in Ubuntu:
  New

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

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




More information about the foundations-bugs mailing list