List Info

Thread: SyntaxError: from __future__ imports must occur at the begin




SyntaxError: from __future__ imports must occur at the begin
country flaguser name
United States
2007-07-23 06:21:37
Bugs item #1758822, was opened at 2007-07-23 11:21
Message generated for change (Tracker Item Submitted) made
by Item Submitter
You can respond by visiting: 
https://sourcefor
ge.net/tracker/?func=detail&atid=559966&aid=1758822&
amp;group_id=80503

Please note that this message will contain a full copy of
the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: lookup
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: torsten (torstenphilipp)
Assigned to: Nathan R. Yergler (nyergler)
Summary: SyntaxError: from __future__ imports must occur at
the begin

Initial Comment:
When I try to run the lookup.py I get the Error SyntaxError:
from __future__ imports must occur at the beginning of the
file
It looks like this in my terminal:

torstentorsten-desktop:~$
/home/torsten/Desktop/MUSIC/cclookup-2.0-rc1/lookup.py
Traceback (most recent call last):
  File
"/home/torsten/Desktop/MUSIC/cclookup-2.0-rc1/lookup.py
", line 20, in <module>
    from cctagutils.metadata import metadata
  File
"/home/torsten/Desktop/MUSIC/cclookup-2.0-rc1/cctagutil
s/__init__.py", line 5, in <module>
    import rdf
  File
"/home/torsten/Desktop/MUSIC/cclookup-2.0-rc1/cctagutil
s/rdf.py", line 14, in <module>
    from cctagutils.metadata import metadata
  File
"/home/torsten/Desktop/MUSIC/cclookup-2.0-rc1/cctagutil
s/metadata.py", line 18, in <module>
    from xmp import XmpMetadata
  File
"/home/torsten/Desktop/MUSIC/cclookup-2.0-rc1/cctagutil
s/xmp.py", line 2, in <module>
    import ccrdf
  File
"/home/torsten/Desktop/MUSIC/cclookup-2.0-rc1/ccrdf/__i
nit__.py", line 4, in <module>
    import rdfextract
  File
"/home/torsten/Desktop/MUSIC/cclookup-2.0-rc1/ccrdf/rdf
extract.py", line 22, in <module>
    import rdfdict
  File
"/home/torsten/Desktop/MUSIC/cclookup-2.0-rc1/ccrdf/rdf
dict.py", line 18
    from __future__ import generators
SyntaxError: from __future__ imports must occur at the
beginning of the file

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

You can respond by visiting: 
https://sourcefor
ge.net/tracker/?func=detail&atid=559966&aid=1758822&
amp;group_id=80503
_______________________________________________
cc-devel mailing list
cc-devellists.ibiblio.org
ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )