johannesring / scitools

Automatically exported from code.google.com/p/scitools
Other
0 stars 0 forks source link

Problem installing scitools-0.8 #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm really excited about going through "Python scriptinf ro computaional 
science", but I'm having some problems installing the recommended software.  
Any help would be appreciated-John

What steps will reproduce the problem?
1.python setup.py install

What is the expected output? 
something along the lines of ... scitools installed...

What do you see instead?

default scitools.easyviz backend becomes matplotlib
(could be set by the --easyviz_backend option to setup.py)

Traceback (most recent call last):
  File "setup.py", line 76, in ?
    sys.path.insert(0, os.path.join('lib')); import scitools
  File "lib/scitools/__init__.py", line 78, in ?
    import sys, std
  File "lib/scitools/std.py", line 26, in ?
    from scitools.easyviz import *
  File "lib/scitools/easyviz/__init__.py", line 2734, in ?
    exec(cmd)
  File "<string>", line 1, in ?
  File "lib/scitools/easyviz/matplotlib_.py", line 29, in ?
    from common import *
  File "lib/scitools/easyviz/common.py", line 3, in ?
    from scitools.numpyutils import seq, iseq, asarray, ones, zeros, sqrt, shape, \
  File "lib/scitools/numpyutils.py", line 376
    return transpose(basis) if row_wise_storage else basis
                             ^
SyntaxError: invalid syntax

What version of the product are you using? 

scitools 0.8
Python 2.4.3 compiled with GCC 4.1.2 20080704 

On what operating system?
(Red Hat 4.1.2-50)] on linux2

Please provide any additional information below.

pynumy, Gnuplot and matplotlib  have been installed successfully.

Original issue reported on code.google.com by jakn...@comcast.net on 14 Jul 2011 at 8:10

GoogleCodeExporter commented 9 years ago
Sorry, but Python 2.4 is not supported by SciTools 0.8. You need at least 
Python 2.5.

Original comment by johannes...@gmail.com on 14 Jul 2011 at 9:28