NEST is not pip installable, using !pip install -Uqq nest will install a "network stack tester" https://pypi.org/project/nest/

You will have to follow another installation route. I'm not sure which one is recommended for Google Collab. Perhaps the conda or CMake installation?

On Sat, 23 Dec 2023 at 00:58, Anthony Lee <anthonyylee@colorado.edu> wrote:
Hey Alvin,

You may have to restart the kernel because the installation was installed via a child shell process and have yet to be loaded into the current process that the kernel is running on. 

IIRC, it is called “Restart runtime” in Google Colab. 

Anthony

On Dec 22, 2023, at 12:46, Alvin Spivey <alvin.spivey@gmail.com> wrote:


I'm trying to install and use NEST on google Colab, but it's not importing:

!pip install -Uqq nest
!pip install -Uqq nestml
!pip install -Uqq pysilsub
import nest
import nestml
import numpy as np
import matplotlib.pyplot as plt
from pysilsub import observers
from nestml.network import Network
from nestml.models import ConeNakaRushton

Am I able to use NEST on Google Colab?
--
Alvin J. Spivey, Ph.D.
(c) 843.267.8055 
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org


--
Robin De Schepper, PhD (they/them)
Department of Brain and Behavioral Sciences
Unit of Neurophysiology
University of Pavia, Italy
Via Forlanini 6, 27100 Pavia - Italy
Tel: (+39) 038298-7607
http://www-5.unipv.it/dangelo/