You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
%matplotlib inline
import brian2 as b2
import matplotlib.pyplot as plt
import numpy as np
from neurodynex3.leaky_integrate_and_fire import LIF
from neurodynex3.tools import input_factory, plot_tools
Based on the requirements.txt, I believe that running pip install neurodynex3 installs the latest releases of its depedencies (e.g. numpy==1.24.0). Neurodynex3 specific modules are written using previous versions of these dependencies. It'll be quite tedious trying to recover the exact versions of these dependencies, but that will be your best bet getting the exercises running!
When I copied the code of exercise 1,like this,
%matplotlib inline
import brian2 as b2
import matplotlib.pyplot as plt
import numpy as np
from neurodynex3.leaky_integrate_and_fire import LIF
from neurodynex3.tools import input_factory, plot_tools
LIF.getting_started()
LIF.print_default_parameters()
python reminded me,like this,
AttributeError: module 'brian2' has no attribute 'units'
The text was updated successfully, but these errors were encountered: