ts-7000
[Top] [All Lists]

[ts-7000] unable to install python-serial on 7800

To:
Subject: [ts-7000] unable to install python-serial on 7800
From: Simon Leung <>
Date: Fri, 28 Jan 2011 13:58:37 +0000
Hi all,

I'm trying to install python-serial but can't do it.  Here is what I get:

:apt# apt-get install python-serial
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
   libwxgtk2.4-python libwxgtk-python
The following NEW packages will be installed:
   python-serial
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 0B/35.1kB of archives.
After unpacking 188kB of additional disk space will be used.
Selecting previously deselected package python-serial.
(Reading database ... 18087 files and directories currently installed.)
Unpacking python-serial (from .../python-serial_2.1-1_all.deb) ...
Setting up python-serial (2.1-1) ...
Compiling /usr/lib/python2.3/site-packages/serial/rfc2217.py ...
   File "/usr/lib/python2.3/site-packages/serial/rfc2217.py", line 205
     RFC2217_REVERSE_PARITY_MAP = dict((v,k) for k,v in 
RFC2217_PARITY_MAP.items())
                                               ^
SyntaxError: invalid syntax

dpkg: error processing python-serial (--configure):
  subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
  python-serial
E: Sub-process /usr/bin/dpkg returned an error code (1)


My source.list file is pointing to

deb http://archive.debian.org/debian sarge main contrib non-free

I probably can download the source and try install using the setuptool but at 
the same time, the debian mirror shouldn't fail, right?


Thanks





------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] unable to install python-serial on 7800, Simon Leung <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU