On Sat, Jan 11, 2020 at 1:30 AM pnp <go...@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
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion