Mac or UNIX installation[edit | edit source]
If you use OSX or a UNIXstripe, here's what you do to install Python:
- Turn on your computer.
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[edit | edit source]
Unfortunately, even Windows 10 users aren't so lucky. You're going to have to spend some time installing Python.
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:
- 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.
- Install the program by double clicking on the package that downloads.
- 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.
- 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.
- 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:
By adding the x to set, you're saying that you want this path available every time you open a cmd window.