Pybot Wiki
This is a guide to INSTALLING pybot.

Installing Python is the vital first step in using pybot.

Mac or UNIX installation[]

If you use OSX or a UNIXstripe, here's what you do to install Python:

  • Turn on your computer.
This mainly applies to users of Apple's OS X.


This mainly applies to users of LINUX.

That's it. OSX ships with Python pre-installed, and has done for around a decade. Other UNIX-based OS flavours have also shipped with Python for a long while. Provided that you're using a reasonably modern version of the OS (i.e., probably less than 5 years old), you can join Mac users in skipping this step, as well.

Windows installation[]

Unfortunately, even Windows 10 users aren't so lucky. You're going to have to spend some time installing Python.

This mainly applies to users of MICROSOFT WINDOWS.

Now, we're working hard on improving this section for you, and an instructional video is forthcoming. In the meantime, we're just going to transplant instructions given at mw:Pywikibot/Installation:

Python v2.5 or higher is required for compat. Python v2.7 is required for core. Python branch v3.x isn't currently supported! In other words, go ahead and install v2.7, by performing the following steps:

  1. Download Python v2.7 here. Again, do not use the 3.x branch! Other versions are not supported and if you use those versions your bot may not work properly.
  2. Install the program by double clicking on the package that downloads.
  3. It's very important to accept default location of install. You should end up with a folder called c:\Python27. If your Python folder did not end up in that location, please ensure that you manually move it there.
  4. It's possible that you'll need to take another step. You may need to change the font that is used in your cmd windows in order to properly display various characters not commonly used in English.
  5. You'll know Step 5 has completed successfully because you'll get this message.

    In order to make it easy to use pybot scripts, we now need to take another little step. In a cmd window, cut and paste the following:
setx PATH "%PATH%;C:\Python27"

By adding the x to set, you're saying that you want this path available every time you open a cmd window.