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

Jupyter Notebook spikeInterface import issue HPC #3515

Open
htran1902 opened this issue Oct 30, 2024 · 9 comments
Open

Jupyter Notebook spikeInterface import issue HPC #3515

htran1902 opened this issue Oct 30, 2024 · 9 comments
Labels
installation Installation issues

Comments

@htran1902
Copy link

Hi,

I use Jupyter Notebook on a HPC and I got the following error when importing spike interface by doing

import spikeinterface.full as si

Restarting the kernel does not change anything. Any ideas how to fix it? (I am not a Python expert) Thanks!

image

@alejoe91
Copy link
Member

Hi @htran1902

Can you try to update numpy to 1.26.4?

@htran1902
Copy link
Author

The numpy version is already 1.26.4

@zm711
Copy link
Collaborator

zm711 commented Oct 30, 2024

Could you try just doing

pip install -U numba

@htran1902
Copy link
Author

I still have the same error (Numba version is 0.60.0) and spikeinterface version is 0.100.6

@zm711
Copy link
Collaborator

zm711 commented Oct 30, 2024

Could you just do a full pip list so we can see what is in the environment?

@htran1902
Copy link
Author

Here's a list of modules in the environment
image

@zm711
Copy link
Collaborator

zm711 commented Oct 31, 2024

The last thing you could try would be

pip uninstall numpy
pip uninstall numba
pip install numba

this could break the environment, but basically this type of numba issue typically occurs when there is a miscommunication between numpy or numba (or both). So I would give that a go and if it still doesn't work then I think we will have to dig into how you are doing the install :)

@h-mayorquin
Copy link
Collaborator

Besides import time, this is an extra reason to delay numba till execution.

@alejoe91 alejoe91 added the installation Installation issues label Nov 5, 2024
@zm711
Copy link
Collaborator

zm711 commented Dec 3, 2024

Any word @htran1902 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation issues
Projects
None yet
Development

No branches or pull requests

4 participants