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.

  • git archive preserve time
  • post-receive hook on Windows - GIT_WORK_DIR: no such file or directory
  • Git clone repository error: RPC failed; result=56, HTTP code = 200
  • Can I git-svn clone an svn repo with multiple standard directory layouts
  • Rails 3 and Heroku: automatically “rake db:migrate” on push?
  • Git status over all repo's
  • Bitbucket - git push fails. Packet corrupt | Broken pipe
  • Search git Commits Using Regex
  • NetBeans 7.2 git push error
  • Maven cannot find .git (dotGitDirectory)
  • gitignore - hide ignored files during checkout
  • git rebase -i presents an empty MacVim file
  • 2 Solutions collect form web for “installing pybrain”

    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

    I had same problem. Solution for me was to call cmd.exe – “Run as administrator”, when navigate into extracted pybrain sources folder in this console and finally run “setup.py install”

    How when check, what pybrain is installed and available? Easy!
    In console call python interpreter: for me it was

    C:\Python27\python.exe
    

    and after getting Python cli:

    Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win
    32
    Type "help", "copyright", "credits" or "license" for more information.
    

    Type following line:

    from pybrain.tools.shortcuts import buildNetwork
    

    If no errors produced, when all is OK 🙂

    Git Baby is a git and github fan, let's start git clone.