[SciPy-user] "import scipy" fails with Python-2.2a4

H Jansen h.jansen at fel.tno.nl
Fri Dec 21 02:22:56 CST 2001

I've compiled the latest SciPy successfully. However, when importing the
module this is the result:

[44]jans2 at 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 ?
line 42, in ?
    from misc import *
line 21, in ?
    import scipy.stats
line 4, in ?
    from stats import *
line 204, in ?
    import math, string, sys, pstat, copy
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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: h.jansen.vcf
Type: text/x-vcard
Size: 472 bytes
Desc: Card for H Jansen
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20011221/3c34c433/attachment.vcf 

More information about the SciPy-user mailing list