I did this blog post especially because I had some hard time installing the Brian2 simulator, even though I followed all the instructions in the official documentation Link
I tried many time until l found a working method, which is using an older version of "matplot" library to avoid upgrading the numpy package, although this method provides Brian testing without any errors, I am not sure what are the implications of that, as I am not experienced in Brian2, but anyway I hope it may benefit anyone struggling too:
1- I downloaded the Anaconda python 2.7 version for 64-bit windows from this link (the version I used is shown in the image)
2- I installed Anaconda from its executable file following all the default settings
3- I installed the Brian2 team channel using the command :
conda config --add channels brian-team
4- I installed Brian 2 package:
conda install brian2
5- I installed other required packages:
conda install nose ipython ipython-notebook
6- I installed an older version of matplot library (so that I won't need to update numpy):
pip install -i https://pypi.anaconda.org/pypi/simple matplotlib
7- As this is the sequence in the original documentation, I should install the Microsoft Visual C++ Compiler for Python 2.7 from this link (but I actually had it installed before I setup Anaconda).
8- I typed "python" to get to the python terminal and performed the Brian2 testing:
import brian2 brian2.test()