hit counter

Timeline

My development logbook

Sometimes ``easy_install`` Drives Me Nut

It is never easy with easy_install.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
mbp002:python antkong$ ./easy_install-2.7 numpy-1.6.2
Searching for numpy-1.6.2
Reading http://pypi.python.org/simple/numpy-1.6.2/
Couldn't find index page for 'numpy-1.6.2' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
^Cinterrupted
mbp002:python antkong$ ./easy_install-2.7 numpy
Searching for numpy
Reading http://pypi.python.org/simple/numpy/
Reading http://numpy.scipy.org
Reading http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103
Reading http://numeric.scipy.org
Best match: numpy 1.6.2
Downloading http://pypi.python.org/packages/source/n/numpy/numpy-1.6.2.zip#md5=7e13c931985f90efcfa0408f845d6fee
Processing numpy-1.6.2.zip
Writing /var/folders/p6/0ngqkfy57rq48g4k3jt6rq0c0000gn/T/easy_install-6a51Gw/numpy-1.6.2/setup.cfg
Running numpy-1.6.2/setup.py -q bdist_egg --dist-dir /var/folders/p6/0ngqkfy57rq48g4k3jt6rq0c0000gn/T/easy_install-6a51Gw/numpy-1.6.2/egg-dist-tmp-4w8nPc
Running from numpy source directory.non-existing path in '/private/var/folders/p6/0ngqkfy57rq48g4k3jt6rq0c0000gn/T/easy_install-6a51Gw/numpy-1.6.2/numpy/distutils': 'site.cfg'
Could not locate executable f95
Could not locate executable f90
Could not locate executable f77
Could not locate executable xlf90
Could not locate executable xlf
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable g77
Found executable /usr/local/bin/gfortran
_configtest.c:1:20: error: endian.h: No such file or directory
_configtest.c:1:20: error: endian.h: No such file or directory
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:7: error: ‘SIZEOF_LONGDOUBLE’ undeclared (first use in this function)
_configtest.c:7: error: (Each undeclared identifier is reported only once
_configtest.c:7: error: for each function it appears in.)
_configtest.c: In function ‘main’:
_configtest.c:7: error: ‘SIZEOF_LONGDOUBLE’ undeclared (first use in this function)
_configtest.c:7: error: (Each undeclared identifier is reported only once
_configtest.c:7: error: for each function it appears in.)
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:7: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:7: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:8: error: ‘HAVE_DECL_SIGNBIT’ undeclared (first use in this function)
_configtest.c:8: error: (Each undeclared identifier is reported only once
_configtest.c:8: error: for each function it appears in.)
_configtest.c: In function ‘main’:
_configtest.c:8: error: ‘HAVE_DECL_SIGNBIT’ undeclared (first use in this function)
_configtest.c:8: error: (Each undeclared identifier is reported only once
_configtest.c:8: error: for each function it appears in.)
_configtest.c: In function ‘main’:
_configtest.c:7: error: ‘Py_UNICODE_WIDE’ undeclared (first use in this function)
_configtest.c:7: error: (Each undeclared identifier is reported only once
_configtest.c:7: error: for each function it appears in.)
_configtest.c: In function ‘main’:
_configtest.c:7: error: ‘Py_UNICODE_WIDE’ undeclared (first use in this function)
_configtest.c:7: error: (Each undeclared identifier is reported only once
_configtest.c:7: error: for each function it appears in.)
('File:', 'build/src.macosx-10.4-x86_64-2.7/numpy/core/include/numpy/config.h')
#define SIZEOF_PY_INTPTR_T 8
#define SIZEOF_PY_LONG_LONG 8
#define MATHLIB 
#define HAVE_SIN
#define HAVE_COS
#define HAVE_TAN
#define HAVE_SINH
#define HAVE_COSH
#define HAVE_TANH
#define HAVE_FABS
#define HAVE_FLOOR
#define HAVE_CEIL
#define HAVE_SQRT
#define HAVE_LOG10
#define HAVE_LOG
#define HAVE_EXP
#define HAVE_ASIN
#define HAVE_ACOS
#define HAVE_ATAN
#define HAVE_FMOD
#define HAVE_MODF
#define HAVE_FREXP
#define HAVE_LDEXP
#define HAVE_RINT
#define HAVE_TRUNC
#define HAVE_EXP2
#define HAVE_LOG2
#define HAVE_ATAN2
#define HAVE_POW
#define HAVE_NEXTAFTER
#define HAVE_SINF
#define HAVE_COSF
#define HAVE_TANF
#define HAVE_SINHF
#define HAVE_COSHF
#define HAVE_TANHF
#define HAVE_FABSF
#define HAVE_FLOORF
#define HAVE_CEILF
#define HAVE_RINTF
#define HAVE_TRUNCF
#define HAVE_SQRTF
#define HAVE_LOG10F
#define HAVE_LOGF
#define HAVE_LOG1PF
#define HAVE_EXPF
#define HAVE_EXPM1F
#define HAVE_ASINF
#define HAVE_ACOSF
#define HAVE_ATANF
#define HAVE_ASINHF
#define HAVE_ACOSHF
#define HAVE_ATANHF
#define HAVE_HYPOTF
#define HAVE_ATAN2F
#define HAVE_POWF
#define HAVE_FMODF
#define HAVE_MODFF
#define HAVE_FREXPF
#define HAVE_LDEXPF
#define HAVE_EXP2F
#define HAVE_LOG2F
#define HAVE_COPYSIGNF
#define HAVE_NEXTAFTERF
#define HAVE_SINL
#define HAVE_COSL
#define HAVE_TANL
#define HAVE_SINHL
#define HAVE_COSHL
#define HAVE_TANHL
#define HAVE_FABSL
#define HAVE_FLOORL
#define HAVE_CEILL
#define HAVE_RINTL
#define HAVE_TRUNCL
#define HAVE_SQRTL
#define HAVE_LOG10L
#define HAVE_LOGL
#define HAVE_LOG1PL
#define HAVE_EXPL
#define HAVE_EXPM1L
#define HAVE_ASINL
#define HAVE_ACOSL
#define HAVE_ATANL
#define HAVE_ASINHL
#define HAVE_ACOSHL
#define HAVE_ATANHL
#define HAVE_HYPOTL
#define HAVE_ATAN2L
#define HAVE_POWL
#define HAVE_FMODL
#define HAVE_MODFL
#define HAVE_FREXPL
#define HAVE_LDEXPL
#define HAVE_EXP2L
#define HAVE_LOG2L
#define HAVE_COPYSIGNL
#define HAVE_NEXTAFTERL
#define HAVE_DECL_SIGNBIT
#define HAVE_COMPLEX_H
#define HAVE_CREAL
#define HAVE_CIMAG
#define HAVE_CABS
#define HAVE_CARG
#define HAVE_CEXP
#define HAVE_CSQRT
#define HAVE_CLOG
#define HAVE_CCOS
#define HAVE_CSIN
#define HAVE_CPOW
#define HAVE_CREALF
#define HAVE_CIMAGF
#define HAVE_CABSF
#define HAVE_CARGF
#define HAVE_CEXPF
#define HAVE_CSQRTF
#define HAVE_CLOGF
#define HAVE_CCOSF
#define HAVE_CSINF
#define HAVE_CPOWF
#define HAVE_CREALL
#define HAVE_CIMAGL
#define HAVE_CABSL
#define HAVE_CARGL
#define HAVE_CEXPL
#define HAVE_CSQRTL
#define HAVE_CLOGL
#define HAVE_CCOSL
#define HAVE_CSINL
#define HAVE_CPOWL
#ifndef __cplusplus
/* #undef inline */
#endif

#ifndef _NPY_NPY_CONFIG_H_
#error config.h should never be included directly, include npy_config.h instead
#endif

EOF
File: build/src.macosx-10.4-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
#define NPY_SIZEOF_INT SIZEOF_INT
#define NPY_SIZEOF_LONG SIZEOF_LONG
#define NPY_SIZEOF_FLOAT 4
#define NPY_SIZEOF_COMPLEX_FLOAT 8
#define NPY_SIZEOF_DOUBLE 8
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
#define NPY_SIZEOF_LONGDOUBLE 16
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
#define NPY_SIZEOF_PY_INTPTR_T 8
#define NPY_SIZEOF_PY_LONG_LONG 8
#define NPY_SIZEOF_LONGLONG 8
#define NPY_NO_SMP 0
#define NPY_HAVE_DECL_ISNAN
#define NPY_HAVE_DECL_ISINF
#define NPY_HAVE_DECL_ISFINITE
#define NPY_HAVE_DECL_SIGNBIT
#define NPY_USE_C99_COMPLEX
#define NPY_HAVE_COMPLEX_DOUBLE 1
#define NPY_HAVE_COMPLEX_FLOAT 1
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
#define NPY_USE_C99_FORMATS 1
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
#define NPY_ABI_VERSION 0x01000009
#define NPY_API_VERSION 0x00000006

#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
#endif

EOF
non-existing path in '/private/var/folders/p6/0ngqkfy57rq48g4k3jt6rq0c0000gn/T/easy_install-6a51Gw/numpy-1.6.2/numpy/core': 'build/src.macosx-10.4-x86_64-2.7/numpy/core/src/multiarray'
non-existing path in '/private/var/folders/p6/0ngqkfy57rq48g4k3jt6rq0c0000gn/T/easy_install-6a51Gw/numpy-1.6.2/numpy/core': 'build/src.macosx-10.4-x86_64-2.7/numpy/core/src/umath'
zip_safe flag not set; analyzing archive contents...
numpy._import_tools: module references __file__
numpy._import_tools: module references __path__
numpy.core.generate_numpy_api: module references __file__
numpy.core.scons_support: module references __file__
numpy.core.setup: module references __file__
numpy.core.setup_common: module references __file__
numpy.distutils.exec_command: module references __file__
numpy.distutils.misc_util: module references __file__
numpy.distutils.npy_pkg_config: module references __file__
numpy.distutils.system_info: module references __file__
numpy.distutils.command.build_src: module references __file__
numpy.distutils.command.scons: module references __file__
numpy.distutils.fcompiler.__init__: module references __file__
numpy.distutils.fcompiler.compaq: module references __file__
numpy.doc.__init__: module references __file__
numpy.f2py.diagnose: module references __file__
numpy.f2py.f2py2e: module references __file__
numpy.f2py.setup: module references __file__
numpy.f2py.setupscons: module references __file__
numpy.lib.utils: module references __file__
numpy.lib.utils: module references __path__
numpy.lib.utils: module MAY be using inspect.getsource
numpy.lib.utils: module MAY be using inspect.getsourcefile
numpy.numarray.util: module references __file__
numpy.testing.noseclasses: module references __file__
numpy.testing.nosetester: module references __file__
numpy.testing.numpytest: module references __file__
numpy.testing.utils: module references __file__
Adding numpy 1.6.2 to easy-install.pth file
Installing f2py2.7 script to /usr/local/share/python

Installed /usr/local/lib/python2.7/site-packages/numpy-1.6.2-py2.7-macosx-10.4-x86_64.egg
Processing dependencies for numpy
Finished processing dependencies for numpy
/var/folders/p6/0ngqkfy57rq48g4k3jt6rq0c0000gn/T/easy_install-6a51Gw/numpy-1.6.2/numpy/distutils/misc_util.py:252: RuntimeWarning: Parent module 'numpy.distutils' not found while handling absolute import
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.2/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/var/folders/p6/0ngqkfy57rq48g4k3jt6rq0c0000gn/T/easy_install-6a51Gw/numpy-1.6.2/numpy/distutils/misc_util.py", line 252, in clean_up_temporary_directory
ImportError: No module named numpy.distutils
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.2/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/var/folders/p6/0ngqkfy57rq48g4k3jt6rq0c0000gn/T/easy_install-6a51Gw/numpy-1.6.2/numpy/distutils/misc_util.py", line 252, in clean_up_temporary_directory
ImportError: No module named numpy.distutils