Search code examples
pythonjupyternestjupyter-lab

Jupyter Lab kernel dies on import of library


I followed the instructions here (https://nest-simulator.readthedocs.io/en/stable/installation/user.html#user-install) to install NEST via the sudo apt-get install command:

sudo add-apt-repository ppa:nest-simulator/nest
sudo apt-get update
sudo apt-get install nest

I do this to test it:

python3
import nest

and it doesn't work. Instead, it comes up with an error saying Segmentation fault (core dumped).

I've tried setting this up in a separate conda environment, where I reinstalled NEST, but I still get the same error.

FYI my system specs are Linux Mint 22.04, built on Ubuntu. Something that's confusing to me is that Ubuntu is built on debian, but they have 2 separate install instructions on their install page. Version of python: 3.11.4 Version of NEST: 3.5

Any help would be appreciated.


Solution

  • I think I found the problem. NEST simulator is only compatible with python 3.6, 3.7, 3.8, and 3.9, but not above. I'm going to try downgrading python to 3.9 and I think that will work.