[Numpy-discussion] Numpy support for Microblaze

Robert Kern robert.kern at gmail.com
Sun Jan 12 01:48:08 EST 2020


On Sat, Jan 11, 2020 at 1:30 AM pnp <gokul at astrome.co> wrote:

> 4. When I run with these changes, I get the following runtime error:
> ~# /usr/local/bin/python
>
> Python 3.8.0 (default, Jan  3 2020, 16:10:54)
> [GCC 8.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import numpy as np
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python3.8/site-packages/numpy/__init__.py", line 150, in
> <module>
>     from . import random
>   File "/usr/lib/python3.8/site-packages/numpy/random/__init__.py", line
> 143, in <module>
>     from .mtrand import *
> SystemError: execution of module numpy.random.mtrand failed without setting
> an exception
> >>>
>

I'd suggest trying to build a small Cython module by itself to see if this
is a platform-specific problem with the general Cython-generated code for
initializing the module or a problem that we can fix in the mtrand code.

-- 
Robert Kern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20200112/2177e9e6/attachment.html>


More information about the NumPy-Discussion mailing list