Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail: E SystemError: initialization of _internal failed without raising an exception #216

Closed
yurivict opened this issue Apr 19, 2023 · 0 comments

Comments

@yurivict
Copy link

cd /usr/ports/math/py-pynndescent/work-py39/pynndescent-0.5.9 && /usr/bin/env XDG_DATA_HOME=/usr/ports/math/py-pynndescent/work-py39  XDG_CONFIG_HOME=/usr/ports/math/py-pynndescent/work-py39  XDG_CACHE_HOME=/usr/ports/math/py-pynndescent/work-py39/.cache  HOME=/usr/ports/math/py-pynndescent/work-py39 PATH=/usr/local/libexec/ccache:/usr/ports/math/py-pynndescent/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/math/py-pynndescent/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" /usr/local/bin/python3.9 -m pytest -k '' -rs -v -o addopts= 
========================================================================================== test session starts ==========================================================================================
platform freebsd13 -- Python 3.9.16, pytest-7.2.2, pluggy-1.0.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
Using --randomly-seed=3757964323
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/usr/ports/math/py-pynndescent/work-py39/pynndescent-0.5.9/.hypothesis/examples')
rootdir: /usr/ports/math/py-pynndescent/work-py39/pynndescent-0.5.9
plugins: forked-1.4.0, cov-2.9.0, timeout-2.1.0, xdist-2.5.0, randomly-3.12.0, rerunfailures-10.1, flaky-3.7.0, env-0.6.2, freezegun-0.4.2, mock-3.10.0, hypothesis-6.71.0
collected 0 items / 1 error                                                                                                                                                                             

================================================================================================ ERRORS =================================================================================================
_____________________________________________________________________________________ ERROR collecting test session _____________________________________________________________________________________
/usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:850: in exec_module
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
pynndescent/__init__.py:3: in <module>
    import numba
/usr/local/lib/python3.9/site-packages/numba/__init__.py:42: in <module>
    from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
/usr/local/lib/python3.9/site-packages/numba/np/ufunc/__init__.py:3: in <module>
    from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
/usr/local/lib/python3.9/site-packages/numba/np/ufunc/decorators.py:3: in <module>
    from numba.np.ufunc import _internal
E   SystemError: initialization of _internal failed without raising an exception
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=========================================================================================== 1 error in 0.96s ============================================================================================
*** Error code 2

Version: 0.5.9
Python-3.9
FreeBSD 13.2

@yurivict yurivict closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant