Bug 274659 - devel/numpy: Failure to initialize
Summary: devel/numpy: Failure to initialize
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-22 21:19 UTC by Jason W. Bacon
Modified: 2023-11-03 02:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer freebsd_triage 2023-10-22 21:19:20 UTC
Getting the following error in a simple python script that has worked for years.  Some discussion threads indicate an issue with certain numpy versions.

Traceback (most recent call last):
  File "/usr/home/bacon/Prog/Src/Lang-speed/./selsort-numba.py", line 4, in <module>
    from numba import jit
  File "/usr/local/lib/python3.9/site-packages/numba/__init__.py", line 42, in <module>
    from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
  File "/usr/local/lib/python3.9/site-packages/numba/np/ufunc/__init__.py", line 3, in <module>
    from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
  File "/usr/local/lib/python3.9/site-packages/numba/np/ufunc/decorators.py", line 3, in <module>
    from numba.np.ufunc import _internal
SystemError: initialization of _internal failed without raising an exception
Comment 1 Eugene Grosbein freebsd_committer freebsd_triage 2023-11-03 02:58:07 UTC
See also:
https://github.com/numba/numba/issues/8615