[Scipy-tickets] [SciPy] #1843: SyntaxError on Fedora 18 with current git

SciPy Trac scipy-tickets@scipy....
Thu Feb 14 12:00:42 CST 2013


#1843: SyntaxError on Fedora 18 with current git
-------------------------+--------------------------------------------------
 Reporter:  opoplawski   |       Owner:  somebody   
     Type:  defect       |      Status:  new        
 Priority:  high         |   Milestone:  Unscheduled
Component:  scipy.weave  |     Version:  devel      
 Keywords:               |  
-------------------------+--------------------------------------------------
 Trying to build on Fedora 18 with python3.3 I get:

 {{{
 Bytecompiling .py files below
 /export/home/orion/redhat/BUILDROOT/scipy-0.12.0-0.1.fc19.x86_64/usr/lib64/python3.3/
 using /usr/bin/python3.3
 *** Error compiling
 '/export/home/orion/redhat/BUILDROOT/scipy-0.12.0-0.1.fc19.x86_64/usr/lib64/python3.3
 /site-packages/scipy/weave/accelerate_tools.py'...
   File "/usr/lib64/python3.3/site-
 packages/scipy/weave/accelerate_tools.py", line 318
     print 'lookup',self.module.__name__+'_weave'
                  ^
 SyntaxError: invalid syntax

 *** Error compiling
 '/export/home/orion/redhat/BUILDROOT/scipy-0.12.0-0.1.fc19.x86_64/usr/lib64/python3.3
 /site-packages/scipy/weave/ast_tools.py'...
   File "/usr/lib64/python3.3/site-packages/scipy/weave/ast_tools.py", line
 66
     ast = parser.expr(`expr_string`).totuple()[1][1]
                       ^
 SyntaxError: invalid syntax

 *** Error compiling
 '/export/home/orion/redhat/BUILDROOT/scipy-0.12.0-0.1.fc19.x86_64/usr/lib64/python3.3
 /site-packages/scipy/weave/blitz_tools.py'...
   File "/usr/lib64/python3.3/site-packages/scipy/weave/blitz_tools.py",
 line 67
     print 'warning: compilation failed. Executing as python code'
                                                                 ^
 SyntaxError: invalid syntax
 }}}

 And many more like that.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1843>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list