johannesring / scitools

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

Error using scitools #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have create a simple test .py script where I put the next code:

from scitools.all import *

t = linspace(0, 3, 51)
y = t**2*exp(-t**2)
plot(t, y)

2. After I run the module
3. Than it shows the error

What is the expected output? What do you see instead?
Instead the plot the result was:
Traceback (most recent call last):
  File "E:\Metodo_Algoritmos_Espaciais\Trabalho2\Python_scripts\teste.py", 
line 1, in ?
    from scitools.all import *
  File "C:\PROGRA~1\Arcgis\Phyton\Lib\site-packages\scitools\__init__.py", 
line 67, in ?
    import sys, std
  File "C:\PROGRA~1\Arcgis\Phyton\Lib\site-packages\scitools\std.py", line 
26, in ?
    from scitools.easyviz import *
  File "C:\PROGRA~1\Arcgis\Phyton\Lib\site-
packages\scitools\easyviz\__init__.py", line 1819, in ?
    exec(cmd)
  File "<string>", line 1, in ?
  File "C:\PROGRA~1\Arcgis\Phyton\Lib\site-
packages\scitools\easyviz\gnuplot_.py", line 34, in ?
    from common import *
  File "C:\PROGRA~1\Arcgis\Phyton\Lib\site-
packages\scitools\easyviz\common.py", line 3, in ?
    from scitools.numpyutils import seq, iseq, asarray, ones, zeros, sqrt, 
shape, \
  File "C:\PROGRA~1\Arcgis\Phyton\lib\site-
packages\scitools\numpyutils.py", line 414
    return transpose(basis) if row_wise_storage else basis
                             ^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?

Python 2.4.1

SciTools 0.6

Windows XP professional

Please provide any additional information below.

Original issue reported on code.google.com by mel...@gmail.com on 22 Jul 2009 at 11:22

GoogleCodeExporter commented 9 years ago
SciTools 0.6 requires Python 2.5 or later.

Original comment by johannes...@gmail.com on 27 Jul 2009 at 1:30

GoogleCodeExporter commented 9 years ago

Original comment by johannes...@gmail.com on 10 Sep 2009 at 11:50