Search code examples
pythongitpybrain

installing pybrain


I am trying to install pybrain using :

git clone git://github.com/pybrain/pybrain.git

I installed git and then used windows command prompt to execute the above command. Everything goes well but when I open my python IDE, I cant import pybrain. The module doesn't exist. I wonder if I should've done something extra.


Solution

  • As per the PyBrain documentation, you're missing a second step, which is to install the code. So open a command prompt in the pybrain source directory (it'll have a setup.py file in it) and then run the following command:

    python setup.py install
    

    For reference, more detailed installation instructions can be found at the PyBrain Github wiki