You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I import I now see the error below, seems to be due to conflict with the NumPy extension _multiarray_umath and a failure during the initialization of the _tick_cpp module. Any ideas on how to fix?
Traceback (most recent call last):
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/init.py", line 114, in
from numpy.config import show as show_config
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/config.py", line 4, in
from numpy._core._multiarray_umath import (
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/_core/init.py", line 23, in
from . import multiarray
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/_core/multiarray.py", line 10, in
from . import overrides
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/_core/overrides.py", line 8, in
from numpy._core._multiarray_umath import (
SystemError: initialization of _multiarray_umath failed without raising an exception
Traceback (most recent call last):
File "", line 1, in
File "/Users/foo/git-checkouts/tick/tick/tick_cpp/init.py", line 1, in
from .tick_cpp import *
File "/Users/foo/git-checkouts/tick/tick/tick_cpp/tick_cpp.py", line 10, in
from . import _tick_cpp
RuntimeError: CPU dispatcher tracer already initlized
The text was updated successfully, but these errors were encountered:
After some effort I was able to get a build on Apple M1 using
https://github.com/PhilipDeegan/tick/tree/releases
When I import I now see the error below, seems to be due to conflict with the NumPy extension _multiarray_umath and a failure during the initialization of the _tick_cpp module. Any ideas on how to fix?
❯ python -c "import tick.tick_cpp; print(dir(tick.tick_cpp))"
Traceback (most recent call last):
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/init.py", line 114, in
from numpy.config import show as show_config
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/config.py", line 4, in
from numpy._core._multiarray_umath import (
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/_core/init.py", line 23, in
from . import multiarray
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/_core/multiarray.py", line 10, in
from . import overrides
File "/Users/foo/miniforge3/envs/clean_env/lib/python3.12/site-packages/numpy/_core/overrides.py", line 8, in
from numpy._core._multiarray_umath import (
SystemError: initialization of _multiarray_umath failed without raising an exception
Traceback (most recent call last):
File "", line 1, in
File "/Users/foo/git-checkouts/tick/tick/tick_cpp/init.py", line 1, in
from .tick_cpp import *
File "/Users/foo/git-checkouts/tick/tick/tick_cpp/tick_cpp.py", line 10, in
from . import _tick_cpp
RuntimeError: CPU dispatcher tracer already initlized
The text was updated successfully, but these errors were encountered: