How to install PyBrain on Windows

This is a tutorial on how to install PyBrain (and other Python packages) on Windows 7. It sounds like it would be easy, but could be tricky if you have never done it before.
  1. Download the zip-version of PyBrain from https://github.com/pybrain/pybrain/downloads and unpack it at some location that's easy to remember
  2. Open Windows Explorer and navigate to C:\Windows\System32 and in that directory you will find a file with the name cmd.exe. (You can also press the start-button and search for cmd.exe)
  3. Right-click on cmd.exe and choose "Run as administrator" - this is important or the install will complain that you don't have the proper privileges to install PyBrain
  4. This part is tricky if you have never used DOS-commands before. Now you need to navigate to the folder where you unpacked pybrain-master.zip with the help of DOS-commands. To jump down one step you print "cd.." in the window, and to jump up a step you print "cd name_of_folder". To begin with you probably see something like C:\Windows\System32> and to jump down to C:\Windows>, you just type "cd.." and then press the enter key. If you don't know which folders to choose from in a specific directory, you can write "dir" to display the folders and files
  5. You have now navigated to the PyBrain-folder containing the file setup.py. To install PyBrain you just write "setup.py install" (or "python setup.py install"), and PyBrain will now be installed on your computer! 

Comments

Post a Comment