Hi @GEB72. Unfortunately I won’t be able to help with the specific error – from the error message I’d say it has to do with an incompatibility of the code for a 64bit Windows, but I can’t dig into this any further. Did you try using the Brian1 docker image: Container image for Brian 1 — Brian 2 2.5.1.post0.dev88 documentation? I think it should fix the issue (since in the docker container runs on Linux), but I am not 100% sure either.
All that said, several users have tried adapting that code to Brian 2, see e.g. GitHub - sdpenguin/Brian2STDPMNIST: Brian 2 version of Paper "Unsupervised Learning of digit recognition using STDP" – it might be worth using that straight away. Also have a look at the discussion here: Unsupervised learning of digit recognition using spike-timing-dependent