Okay, I was able to get it to run, but I got a lot of Cython-related errors:
20 errors generated.
WARNING Cannot use Cython, a test compilation failed: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1 (CompileError) [brian2.codegen.runtime.cython_rt.cython_rt.failed_compile_test]
INFO Cannot use compiled code, falling back to the numpy code generation target. Note that this will likely be slower than using compiled code. Set the code generation to numpy manually to avoid this message:
prefs.codegen.target = "numpy" [brian2.devices.device.codegen_fallback]
I think this is a problem on my end with pointing brian to the right location for a C++ compiler that’s unrelated to the error messages you’re getting. In the end Brian used the numpy codegen target for me instead and successfully reproduced the figures.
As another note, I was mostly looking at the division warnings in your error message but the later errors
raise NotImplementedError('The “{}” function needs C99 compiler ’
NotImplementedError: The “exprel” function needs C99 compiler support
show up in this other brian forum post:
The “exprel” function needs C99 compiler support while running COBAHH example
and in a couple of discussions / pull requests on github:
gcc not working on Windows
Fix C99 Windows check
[MRG] Add support for new functions, and check C99 support
Those might be good places to look, and my impression is that this is something to do with Windows and C++ compilers