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

tigramite issue #401

Open
Akshayksagar opened this issue Mar 17, 2024 · 2 comments
Open

tigramite issue #401

Akshayksagar opened this issue Mar 17, 2024 · 2 comments

Comments

@Akshayksagar
Copy link

Akshayksagar commented Mar 17, 2024

while running the tigramite, following issue occurs. Also numba is creating the problem. I have python 3.9 and all the dependecies are fulfilled
Screenshot (236)

@liziyue17
Copy link

Same with Python 3.8
image

@tudor-suciu
Copy link

Hi both @Akshayksagar @liziyue17,

I had the same problem when I tried to install tigramite, both on python3.10 and python3.7. This is what I managed to do to fix the installation, maybe it helps you too:

Initially, I created a conda environment and installed tigramite from source (cloned the repo) using python3 setup.py install. This created my the same problem with importing the numba as yours:

  • SystemError: initialization of _internal failed without raising an exception.

What I have done to fix this:

  • checked numba's documentation, where it says:
Screenshot 2024-03-27 at 15 39 13
  • I installed said dependencies from there; in my case, for MAC OSX (M1), I installed: conda install clang_osx-arm64 and conda install clangxx_osx-arm64
  • I reinstalled numba, specifying the version: conda install numba==0.56.4
  • then, the importing of tigramite and numba started to work, but I was missing to more dependencies: networkx and dcor. I installed those with conda install networkx and pip install dcor
  • everything worked.

Hope this works for you as well!

@jakobrunge, many thanks for the package!

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

3 participants