473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Python crashes consistently

Hello,

I've been trying to install Gnumeric via MacPorts recently, but I
can't get past the installation of py25-numpy.

It appears that python crashes consistently during installation. I'm
not sure if this is related to python itself, but I just thought I'd
ask here, just in case anyone else was aware of this problem. I did
have a few problems during the installation, so perhaps it might be
related to them? Is there anyway to check that my installation of
python is valid?

I'm using OS X 10.4.11 on a Mac Mini PPC. I have attached the error
messages from the terminal and the mac pop-up window from the crash.

Any help would be very much appreciated!

Cheers,
Pete.
The terminal says:
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org _release_ports_pytho
n_py25-numpy/work/numpy-1.0.4" && /opt/local/bin/python2.5 setup.py
config_fc --fcompiler g95 --f77exec /opt/local/bin/g95 --f90exec /
opt/local/bin/g95 build " returned error 139
Command output: Running from numpy source directory.

Error: The following dependencies failed to build: py25-gtk py25-
cairo py25-numpy
Error: Status 1 encountered during processing.

The crash window that pops up says:
Date/Time: 2008-03-30 11:30:33.545 +1100
OS Version: 10.4.11 (Build 8S165)
Report Version: 4

Command: python2.5
Path: /opt/local/bin/python2.5
Parent: sh [247]

Version: ??? (???)

PID: 248
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x82008000

Thread 0 Crashed:
0 _random.so 0x00571334 random_seed + 644
(_randommodule.c:297)
1 _random.so 0x0057131c random_seed + 620
(_randommodule.c:292)
2 libpython2.5.dylib 0x002b1788 PyEval_EvalFrameEx + 17604
(ceval.c:3573)
3 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
4 libpython2.5.dylib 0x002b19ac PyEval_EvalFrameEx + 18152
(ceval.c:3669)
5 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
6 libpython2.5.dylib 0x0023969c function_call + 332
(funcobject.c:524)
7 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
8 libpython2.5.dylib 0x0021960c instancemethod_call + 764
(classobject.c:2520)
9 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
10 libpython2.5.dylib 0x0026e81c slot_tp_init + 72 (typeobject.c:
4944)
11 libpython2.5.dylib 0x00273f88 type_call + 664 (typeobject.c:436)
12 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
13 libpython2.5.dylib 0x002b2fc8 PyEval_EvalFrameEx + 23812
(ceval.c:3786)
14 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
15 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
16 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
17 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
18 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
19 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
20 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
21 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
22 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
23 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
24 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
25 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
26 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
27 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
28 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
29 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
30 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
31 libpython2.5.dylib 0x002cd828 load_next + 384 (import.c:2225)
32 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
33 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
34 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
35 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
36 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
37 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
38 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
39 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
40 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
41 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
42 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
43 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
44 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
45 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
46 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
47 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
48 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
49 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
50 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
51 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
52 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
53 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
54 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
55 libpython2.5.dylib 0x002cdb68 ensure_fromlist + 552 (import.c:
2312)
56 libpython2.5.dylib 0x002ce03c import_module_level + 1056
(import.c:2038)
57 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
58 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
59 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
60 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
61 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
62 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
63 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
64 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
65 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
66 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
67 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
68 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
69 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
70 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
71 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
72 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
73 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
74 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
75 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
76 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
77 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
78 libpython2.5.dylib 0x002ccf20 load_package + 336 (import.c:1015)
79 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
80 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
81 libpython2.5.dylib 0x002cdec0 import_module_level + 676
(import.c:2009)
82 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
83 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
84 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
85 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
86 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
87 libpython2.5.dylib 0x002b1924 PyEval_EvalFrameEx + 18016
(ceval.c:3660)
88 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
89 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
90 libpython2.5.dylib 0x002d8444 PyRun_FileExFlags + 288
(pythonrun.c:1274)
91 libpython2.5.dylib 0x002d87fc PyRun_SimpleFileExFlags + 840
(pythonrun.c:879)
92 libpython2.5.dylib 0x002e9b74 Py_Main + 3184 (main.c:523)
93 python2.5 0x000019d8 _start + 760
94 python2.5 0x000016dc start + 48

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000000571334 srr1:
0x000000000000d030 vrsave: 0x0000000000000000
cr: 0x44244228 xer: 0x0000000000000004 lr:
0x000000000057131c ctr: 0x0000000000000001
r0: 0x0000000080000000 r1: 0x00000000bfff80a0 r2:
0x00000000a0001fac r3: 0x0000000002008000
r4: 0x0000000002008000 r5: 0x0000000000000000 r6:
0x00000000bfff7fbc r7: 0x00000000000fdff8
r8: 0x0000000001800400 r9: 0x000000000000000a r10:
0x000000000000000a r11: 0x000000000000003f
r12: 0x000000009000661c r13: 0x00000000ffffffff r14:
0x000000000000ccac r15: 0x00000000000c6930
r16: 0x00000000000c9090 r17: 0x0000000000000000 r18:
0x000000000031bf48 r19: 0x0000000000627b04
r20: 0x00000000005710c4 r21: 0x0000000001858010 r22:
0x000000000000d248 r23: 0x0000000001803814
r24: 0x0000000002008000 r25: 0x0000000040000000 r26:
0x0000000020000001 r27: 0x0000000000000000
r28: 0x000000000004c0c0 r29: 0x000000000004c0c0 r30:
0x0000000044244228 r31: 0x00000000005710c4

Binary Images Description:
0x1000 - 0x1fff python2.5 /opt/local/bin/python2.5
0xe2000 - 0xe5fff strop.so /opt/local/lib/python2.5/lib-
dynload/strop.so
0xf2000 - 0xf3fff math.so /opt/local/lib/python2.5/lib-
dynload/math.so
0x205000 - 0x31afff libpython2.5.dylib /opt/local/lib/
libpython2.5.dylib
0x565000 - 0x567fff binascii.so /opt/local/lib/python2.5/lib-
dynload/binascii.so
0x570000 - 0x571fff _random.so /opt/local/lib/python2.5/lib-
dynload/_random.so
0x8fe00000 - 0x8fe52fff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/
libmathCommon.A.dylib
0x945e0000 - 0x94600fff libmx.A.dylib /usr/lib/libmx.A.dylib

Model: PowerMac10,1, BootROM 4.8.9f1, 1 processors, PowerPC G4
(1.2), 1.25 GHz, 1 GB
Graphics: ATI Radeon 9200, ATY,RV280, AGP, 32 MB
Memory Module: DIMM0/J11, 1 GB, DDR SDRAM, PC3200U-30330
Modem: Jump, V.92, Version 1.0
Network Service: Built-in Ethernet, Ethernet, en0
Parallel ATA Device: ST940110A, 37.26 GB
Parallel ATA Device: MATSHITACD-RW CW-8124
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12
Mb/sec, 500 mA
USB Device: PS/2+USB Mouse, Up to 1.5 Mb/sec, 100 mA
USB Device: C-Media USB Headphone Set, Up to 12 Mb/sec, 100 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec,
250 mA
Jun 27 '08 #1
6 1291
which python ? from macports or macpython ?
Jun 27 '08 #2
Pete Crite wrote:
Hello,

I've been trying to install Gnumeric via MacPorts recently, but I
can't get past the installation of py25-numpy.
You are using the wrong python version. Don't use MacPorts for this, because
it will install a local, non-framework version of python - which will do
you no good if you e.g. want to use any OSX-specific stuff.
Use the official 2.5 framework version. And then install Numpy yourself
(which is a bit annoying I admit, as you need to install e.g. a fortran
compiler, but it is pretty well documented)

Diez
Jun 27 '08 #3
On 16/04/2008, at 9:38 PM, ma***********@gmail.com wrote:
>
which python ? from macports or macpython ?
--
http://mail.python.org/mailman/listinfo/python-list


MacPorts. It automatically downloaded 2.5.2.

My original message is reproduced below.
On 16/04/2008, at 5:50 PM, Pete Crite wrote:
>
Hello,

I've been trying to install Gnumeric via MacPorts recently, but I
can't get past the installation of py25-numpy.

It appears that python crashes consistently during installation. I'm
not sure if this is related to python itself, but I just thought I'd
ask here, just in case anyone else was aware of this problem. I did
have a few problems during the installation, so perhaps it might be
related to them? Is there anyway to check that my installation of
python is valid?

I'm using OS X 10.4.11 on a Mac Mini PPC. I have attached the error
messages from the terminal and the mac pop-up window from the crash.

Any help would be very much appreciated!

Cheers,
Pete.
The terminal says:
>Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.or g_release_ports_pyth
o
n_py25-numpy/work/numpy-1.0.4" && /opt/local/bin/python2.5 setup.py
config_fc --fcompiler g95 --f77exec /opt/local/bin/g95 --f90exec /
opt/local/bin/g95 build " returned error 139
Command output: Running from numpy source directory.

Error: The following dependencies failed to build: py25-gtk py25-
cairo py25-numpy
Error: Status 1 encountered during processing.


The crash window that pops up says:
>Date/Time: 2008-03-30 11:30:33.545 +1100
OS Version: 10.4.11 (Build 8S165)
Report Version: 4

Command: python2.5
Path: /opt/local/bin/python2.5
Parent: sh [247]

Version: ??? (???)

PID: 248
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x82008000

Thread 0 Crashed:
0 _random.so 0x00571334 random_seed + 644
(_randommodule.c:297)
1 _random.so 0x0057131c random_seed + 620
(_randommodule.c:292)
2 libpython2.5.dylib 0x002b1788 PyEval_EvalFrameEx + 17604
(ceval.c:3573)
3 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
4 libpython2.5.dylib 0x002b19ac PyEval_EvalFrameEx + 18152
(ceval.c:3669)
5 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
6 libpython2.5.dylib 0x0023969c function_call + 332
(funcobject.c:524)
7 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
8 libpython2.5.dylib 0x0021960c instancemethod_call + 764
(classobject.c:2520)
9 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
10 libpython2.5.dylib 0x0026e81c slot_tp_init + 72 (typeobject.c:
4944)
11 libpython2.5.dylib 0x00273f88 type_call + 664 (typeobject.c:436)
12 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
13 libpython2.5.dylib 0x002b2fc8 PyEval_EvalFrameEx + 23812
(ceval.c:3786)
14 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
15 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
16 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
17 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
18 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
19 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
20 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
21 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
22 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
23 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
24 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
25 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
26 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
27 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
28 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
29 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
30 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
31 libpython2.5.dylib 0x002cd828 load_next + 384 (import.c:2225)
32 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
33 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
34 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
35 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
36 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
37 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
38 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
39 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
40 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
41 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
42 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
43 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
44 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
45 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
46 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
47 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
48 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
49 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
50 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
51 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
52 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
53 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
54 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
55 libpython2.5.dylib 0x002cdb68 ensure_fromlist + 552 (import.c:
2312)
56 libpython2.5.dylib 0x002ce03c import_module_level + 1056
(import.c:2038)
57 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
58 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
59 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
60 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
61 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
62 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
63 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
64 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
65 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
66 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
67 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
68 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
69 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
70 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
71 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
72 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
73 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
74 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
75 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
76 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
77 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
78 libpython2.5.dylib 0x002ccf20 load_package + 336 (import.c:1015)
79 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
80 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
81 libpython2.5.dylib 0x002cdec0 import_module_level + 676
(import.c:2009)
82 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
83 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
84 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
85 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
86 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
87 libpython2.5.dylib 0x002b1924 PyEval_EvalFrameEx + 18016
(ceval.c:3660)
88 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
89 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
90 libpython2.5.dylib 0x002d8444 PyRun_FileExFlags + 288
(pythonrun.c:1274)
91 libpython2.5.dylib 0x002d87fc PyRun_SimpleFileExFlags + 840
(pythonrun.c:879)
92 libpython2.5.dylib 0x002e9b74 Py_Main + 3184 (main.c:523)
93 python2.5 0x000019d8 _start + 760
94 python2.5 0x000016dc start + 48

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000000571334 srr1:
0x000000000000d030 vrsave: 0x0000000000000000
cr: 0x44244228 xer: 0x0000000000000004 lr:
0x000000000057131c ctr: 0x0000000000000001
r0: 0x0000000080000000 r1: 0x00000000bfff80a0 r2:
0x00000000a0001fac r3: 0x0000000002008000
r4: 0x0000000002008000 r5: 0x0000000000000000 r6:
0x00000000bfff7fbc r7: 0x00000000000fdff8
r8: 0x0000000001800400 r9: 0x000000000000000a r10:
0x000000000000000a r11: 0x000000000000003f
r12: 0x000000009000661c r13: 0x00000000ffffffff r14:
0x000000000000ccac r15: 0x00000000000c6930
r16: 0x00000000000c9090 r17: 0x0000000000000000 r18:
0x000000000031bf48 r19: 0x0000000000627b04
r20: 0x00000000005710c4 r21: 0x0000000001858010 r22:
0x000000000000d248 r23: 0x0000000001803814
r24: 0x0000000002008000 r25: 0x0000000040000000 r26:
0x0000000020000001 r27: 0x0000000000000000
r28: 0x000000000004c0c0 r29: 0x000000000004c0c0 r30:
0x0000000044244228 r31: 0x00000000005710c4

Binary Images Description:
0x1000 - 0x1fff python2.5 /opt/local/bin/python2.5
0xe2000 - 0xe5fff strop.so /opt/local/lib/python2.5/lib-
dynload/strop.so
0xf2000 - 0xf3fff math.so /opt/local/lib/python2.5/lib-
dynload/math.so
0x205000 - 0x31afff libpython2.5.dylib /opt/local/lib/
libpython2.5.dylib
0x565000 - 0x567fff binascii.so /opt/local/lib/python2.5/lib-
dynload/binascii.so
0x570000 - 0x571fff _random.so /opt/local/lib/python2.5/lib-
dynload/_random.so
0x8fe00000 - 0x8fe52fff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/
libmathCommon.A.dylib
0x945e0000 - 0x94600fff libmx.A.dylib /usr/lib/libmx.A.dylib

Model: PowerMac10,1, BootROM 4.8.9f1, 1 processors, PowerPC G4
(1.2), 1.25 GHz, 1 GB
Graphics: ATI Radeon 9200, ATY,RV280, AGP, 32 MB
Memory Module: DIMM0/J11, 1 GB, DDR SDRAM, PC3200U-30330
Modem: Jump, V.92, Version 1.0
Network Service: Built-in Ethernet, Ethernet, en0
Parallel ATA Device: ST940110A, 37.26 GB
Parallel ATA Device: MATSHITACD-RW CW-8124
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12
Mb/sec, 500 mA
USB Device: PS/2+USB Mouse, Up to 1.5 Mb/sec, 100 mA
USB Device: C-Media USB Headphone Set, Up to 12 Mb/sec, 100 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec,
250 mA
Jun 27 '08 #4
I agree, use the official python
http://www.python.org/ftp/python/2.5...5.2-macosx.dmg

I'm also using OS X 10.4.11 and I have no problem
for installing numpy
http://www.scipy.org/Installing_SciPy/Mac_OS_X

or you can download Pre-built binaries from
http://pythonmac.org/packages/py25-fat/index.html
or
http://trichech.us/?page_id=5
Jun 27 '08 #5
Thanks for the quick reply,

Just to clarify (sorry, I'm a bit of a command line newbie):

Do you mean to install Python from the .dmg - i.e. into /usr/local/
bin? And then to install Numpy directly as well (manually, from
source), then continue with the MacPorts installation of Gnumeric
(i.e. into /opt/local/)?

Thanks,
Pete.
On 16/04/2008, at 9:56 PM, Diez B. Roggisch wrote:
>
Pete Crite wrote:
>Hello,

I've been trying to install Gnumeric via MacPorts recently, but I
can't get past the installation of py25-numpy.

You are using the wrong python version. Don't use MacPorts for
this, because
it will install a local, non-framework version of python - which
will do
you no good if you e.g. want to use any OSX-specific stuff.
Use the official 2.5 framework version. And then install Numpy
yourself
(which is a bit annoying I admit, as you need to install e.g. a
fortran
compiler, but it is pretty well documented)

Diez
--
http://mail.python.org/mailman/listinfo/python-list

Jun 27 '08 #6
Just to clarify (sorry, I'm a bit of a command line newbie):
>
Do you mean to install Python from the .dmg - i.e. into /usr/local/
bin?
Yes and No. Use the DMG - but it will install Python under

/Library/Frameworks/Python.framework/...

And then to install Numpy directly as well (manually, from
source), then continue with the MacPorts installation of Gnumeric
(i.e. into /opt/local/)?
No MacPorts. The problem is that these will rely on their python available -
which seems not to work properly.

I had no problems installing e.g. matplotlib which requires Numpy. do
everything "by hand".

I agree that MacPorts would be nice - but obviously you hit a road-block
there.

Diez
Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
3
by: Paul Sheer | last post by:
I have managed to build Python 2.3.3 with the aCC HP-UX C++ compiler by making a number of one-line changes. (For reasons beyond my control, I am forced to use this compiler and it has no C mode...
0
by: travis ray | last post by:
Hi, I have an extension in which a file object is created in python and passed down to a c extension which attempts to read from it or write to it. Writing to the file pointer seems to work...
7
by: Steve D. | last post by:
I recently installed VS.NET 2003 After opening a project and leaving it open, after a certain period of time it crashes. It only does this when a project is open. The project that I've tried...
5
by: KK | last post by:
the code below is taken from M$ technet as an example on using vb script to do a replace all in word: Const wdReplaceAll = 2 Set objWord = CreateObject("Word.Application") objWord.Visible =...
14
by: Java and Swing | last post by:
static PyObject *wrap_doStuff(PyObject *self, PyObject *args) { // this will store the result in a Python object PyObject *finalResult; // get arguments from Python char *result = 0; char *in=...
105
by: Christoph Zwerschke | last post by:
Sometimes I find myself stumbling over Python issues which have to do with what I perceive as a lack of orthogonality. For instance, I just wanted to use the index() method on a tuple which does...
0
by: =?Utf-8?B?QmFjaA==?= | last post by:
Hi, I have a ASP.NET 2.0 web service, which runs beautifully when hosted in the development server of VS2005 (out side of IIS) but crashes when hosted inside IIS 5.1 or IIS 6.0 when it takes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.