#9808: Upgrade numpy to 1.4.1 and scipy to 0.8
-----------------------------------+----------------------------------------
Reporter: maldun | Owner: maldun
Type: task | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: packages | Keywords: numpy, scipy
Author: Stefan Reiterer | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Comment(by maldun):
Replying to [comment:66 kcrisman]:
> I get the following error with the Scipy for some reason.
{{{
creating build/temp.macosx-10.4-ppc-2.6/scipy/special
creating build/temp.macosx-10.4-ppc-2.6/scipy/special/c_misc
compile options: '-I/Users/student/Desktop/sage-4.5.2/local/lib/python2.6
/site-packages/numpy/core/include -c'
gcc: scipy/special/c_misc/fsolve.c
scipy/special/c_misc/fsolve.c: In function 'false_position':
scipy/special/c_misc/fsolve.c:58: warning: 'f3' may be used uninitialized
in this function
scipy/special/c_misc/fsolve.c:58: warning: 'x3' may be used uninitialized
in this function
gcc: scipy/special/c_misc/gammaincinv.c
scipy/special/c_misc/gammaincinv.c:1:20: error: Python.h: No such file or
directory
In file included from
/Users/student/Desktop/sage-4.5.2/local/lib/python2.6/site-packages/numpy
core/include/numpy/npy_math.h:5,
from scipy/special/c_misc/gammaincinv.c:2:
/Users/student/Desktop/sage-4.5.2/local/lib/python2.6/site-
packages/numpy/core/include/numpy/npy_common.h:79:2: error: #error Must
use Python with unicode enabled.
scipy/special/c_misc/gammaincinv.c:1:20: error: Python.h: No such file or
directory
In file included from
/Users/student/Desktop/sage-4.5.2/local/lib/python2.6/site-
packages/numpy/core/include/numpy/npy_math.h:5,
from scipy/special/c_misc/gammaincinv.c:2:
/Users/student/Desktop/sage-4.5.2/local/lib/python2.6/site-
packages/numpy/core/include/numpy/npy_common.h:79:2: error: #error Must
use Python with unicode enabled.
error: Command "gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes
-I/Users/student/Desktop/sage-4.5.2/local/lib/python2.6/site-
packages/numpy/core/include -c scipy/special/c_misc/gammaincinv.c -o
build/temp.macosx-10.4-ppc-2.6/scipy/special/c_misc/gammaincinv.o" failed
with exit status 1
Error building scipy.
}}}
> Did you use some special encoding for some of your stuff?
Nope. Perhaps something else did go wrong. I repacked it now on a
different machine with a newer version of ubuntu and uploaded it.
Hope this works. The first install worked for me.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9808#comment:67>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.