tftpy 0.41 errors

manhhle at gmail.com manhhle at gmail.com
Mon Apr 23 15:17:32 EDT 2007


When trying to import the tftpy package, I've gotten the following
error messages:

Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tftpy
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/tftpy/__init__.py", line 18,
in ?
    from TftpServer import *
  File "/usr/lib/python2.4/site-packages/tftpy/TftpServer.py", line 50
    % (listenip if listenip else '0.0.0.0', listenport))
                 ^
SyntaxError: invalid syntax
>>>

What am I missing? Any pointer is much appreciated.

I installed the tftpy package using the standard command line:

sudo python setup.py install




More information about the Python-list mailing list