Hi Lann,
I think this error has to do with your brian install rather than any specific code. Check out Marcel’s solution in this other thread:
-Adam