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

Dependency issues Numba and Numpy #629

Open
ssvenoe opened this issue Jan 23, 2023 · 1 comment
Open

Dependency issues Numba and Numpy #629

ssvenoe opened this issue Jan 23, 2023 · 1 comment

Comments

@ssvenoe
Copy link

ssvenoe commented Jan 23, 2023

Error message when importing train function

SystemError Traceback (most recent call last)

  1 import pandas as pd 
  2 import datetime as datetime

----> 3 from flood_forecast.trainer import train_function
4 import wandb
5 import os

...
from numba.np.ufunc import _internal
from numba.np.ufunc.parallel import ParallelUFuncBuilder, ParallelGUFuncBuilder
from numba.core.registry import DelayedRegistry

SystemError: initialization of _internal failed without raising an exception

Tried several configurations of numpy (1.23.5 and 1.23.0 and 1.22.5) and numba (0.56.4) due to following issue reported on numba numba/numba#8718 which did not solve the problem. Thinking an update to the requirements.txt might fix the issue.

Using python 3.8.15

@isaacmg
Copy link
Collaborator

isaacmg commented Jan 26, 2023

We've tested on Python 3.10 and newer (that is what our CI is on). It might be related to Python 3.8 issues would be my guess

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

2 participants