<br><div class="gmail_quote">On Sat, Mar 20, 2010 at 1:00 PM, waugust <span dir="ltr"><<a href="mailto:waugustynski@gmail.com">waugustynski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed.<br>
Whenever I apt-get install anything It ends with a series of python<br>
(dependency?) errors.  Anybody got any idea?<br>
> aptget libgcj-common<br>
Reading package lists...<br>
Done<br>
Building dependency<br>
tree<br>
Reading state information...<br>
Done<br>
libgcj-common is already the newest<br>
version.<br>
0 upgraded, 0 newly installed, 0 to remove and 6 not<br>
upgraded.<br>
26 not fully installed or<br>
removed.<br>
After this operation, 0B of additional disk space will be<br>
used.<br>
Setting up libgcj-common<br>
(1:4.4.1-1ubuntu2) ...<br>
Compiling /usr/lib/python3.1/dist-packages/<br>
aotcompile.py ...<br>
  File "/usr/lib/python3.1/dist-packages/aotcompile.py", line<br>
115<br>
    raise Error, "nothing to<br>
do"<br>
<br>
^<br>
SyntaxError: invalid<br>
syntax<br>
<br>
Compiling /usr/lib/python3.1/dist-packages/classfile.py ...<br>
  File "/usr/lib/python3.1/dist-packages/classfile.py", line 30<br>
    raise TypeError, type(arg)<br>
                   ^<br>
SyntaxError: invalid syntax<br><br></blockquote><div><br>Did you set /usr/bin/python to Python 3.1? It needs to stay as the 
system default Python (in this case 2.6) or else lots of stuff breaks. 
You're getting those syntax errors because of the difference between 
Python 2.x (which the scripts were written for) and Python 3.x (which is
 being run) <br></div></div>