I've compiled the latest SciPy successfully. However, when importing the
module this is the result:
[44]jans2@stbsl1:~%> python
Python 2.2a4 (#7, Oct 5 2001, 11:45:35)
[GCC 2.95.3 20010315 (release)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/fmnt/stbsvr/sdata/apps/inst/lib/python2.2/site-packages/scipy/__init__.py",
line 42, in ?
from misc …
[View More]import *
File
"/fmnt/stbsvr/sdata/apps/inst/lib/python2.2/site-packages/scipy/misc.py",
line 21, in ?
import scipy.stats
File
"/fmnt/stbsvr/sdata/apps/inst/lib/python2.2/site-packages/scipy/stats/__init__.py",
line 4, in ?
from stats import *
File
"/fmnt/stbsvr/sdata/apps/inst/lib/python2.2/site-packages/scipy/stats/stats.py",
line 204, in ?
import math, string, sys, pstat, copy
File
"/fmnt/stbsvr/sdata/apps/inst/lib/python2.2/site-packages/scipy/stats/pstat.py",
line 176
exec execstring
SyntaxError: unqualified exec is not allowed in function 'colex' it
contains a nested function with free variables
>>>
Can someone please tell me what's wrong? Thanks.
Henk
[View Less]