lightweight_mmm
lightweight_mmm copied to clipboard
Dependency issue in the Plot module
Seems like the numba _internal module has been changed in a way that broke the decorators module. Not a proper developer myself, so I couldn't track down the more specific issue, but it's possible this is just a naming issue..?
There seems to be some changes to the _internal.c module, but I don't see what the issue would be as I don't fully understand how the setup works.
Full error message:
SystemError Traceback (most recent call last)
13 frames
/usr/local/lib/python3.8/dist-packages/lightweight_mmm/plot.py in
/usr/local/lib/python3.8/dist-packages/arviz/init.py in
/usr/local/lib/python3.8/dist-packages/arviz/plots/init.py in
/usr/local/lib/python3.8/dist-packages/arviz/plots/autocorrplot.py in
/usr/local/lib/python3.8/dist-packages/arviz/plots/plot_utils.py in
/usr/local/lib/python3.8/dist-packages/arviz/stats/init.py in
/usr/local/lib/python3.8/dist-packages/arviz/stats/diagnostics.py in
/usr/local/lib/python3.8/dist-packages/arviz/stats/stats_utils.py in
/usr/local/lib/python3.8/dist-packages/arviz/utils.py in conditional_vect(function, **kwargs) 295 296 if function: --> 297 return wrapper(function) 298 else: 299 return wrapper
/usr/local/lib/python3.8/dist-packages/arviz/utils.py in wrapper(function) 288 def wrapper(function): 289 try: --> 290 numba = importlib.import_module("numba") 291 return numba.vectorize(**kwargs)(function) 292
/usr/lib/python3.8/importlib/init.py in import_module(name, package) 125 break 126 level += 1 --> 127 return _bootstrap._gcd_import(name[level:], package, level) 128 129
/usr/local/lib/python3.8/dist-packages/numba/init.py in
/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/init.py in
/usr/local/lib/python3.8/dist-packages/numba/np/ufunc/decorators.py in
SystemError: initialization of _internal failed without raising an exception
Thanks a lot for flagging this! I just wanted to share a link to our new "support" section in the readme to give you some more information on how we can and cannot support such issues at the moment.
That said, I would recommend trying to reinstall everything in a new virtual environment, and hopefully that will fix these dependency issues.