[Numpy-discussion] Corrupted installation?

Charles R Harris charlesr.harris at gmail.com
Tue Jul 3 09:32:46 EDT 2018

On Tue, Jul 3, 2018 at 5:59 AM, Tom Cook <tom.k.cook at gmail.com> wrote:

> I have a remote sensing platform that uses Numpy on a raspberry pi.  There
> are about a dozen of these installed.  Three days ago, the Python part of
> the software started crashing during startup, with this exception message:
> Traceback (most recent call last):
>   File "/home/azi/board/sensor_logger.py", line 16, in <module>
>     from board.measurement.data import Expression, MeasurementData
>   File "/home/azi/board/measurement/data.py", line 2, in <module>
>     import numpy as np
>   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 153, in
> <module>
>     from . import add_newdocs
>   File "/usr/lib/python3/dist-packages/numpy/add_newdocs.py", line 13, in
> <module>
>     from numpy.lib import add_newdoc
>   File "/usr/lib/python3/dist-packages/numpy/lib/__init__.py", line 8, in
> <module>
>     from .type_check import *
>   File "/usr/lib/python3/dist-packages/numpy/lib/type_check.py", line 11,
> in <module>
>     import numpy.core.numeric as _nx
>   File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 7,
> in <module>
>     from . import umath
> SystemError: initialization of umath raised unreported exception
> I'm running numpy 1.8.2 on python 3.4.2 on a Raspberry Pi running Raspbian
> Jessie.  I realise these are somewhat old, but as the software is running
> in the field (and I mean literally in a field - on another continent) I'm
> not in a great position to update them.
> Can anyone give me a pointer on how to debug this?  As far as I can tell,
> umath.cpython-34m-arm-linux-gnueabihf.so has not changed recently.  In
> fact, as far as I can tell, nothing changed around the time this stopped
> working.  But I guess something must have!

Well, that numpy is quite old, so we have not touched it for many years.
Did all your boards go down or just one or two? Did you update your own

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180703/3b313c02/attachment-0001.html>

More information about the NumPy-Discussion mailing list