Skip to content

Installing on Windows

Luke Rogers edited this page Jan 17, 2015 · 3 revisions

Getting Ready

We recommend that use you use a *unix system to run CloudBot in production, or Vagrant when developing CloudBot. However, it is possible to install natively on Windows.

First, make sure you have Python 3.4 installed. It can be downloaded at python.org.

Next, you need to install pip.

You can usually install pip via the following python command in cmd:

python3.4 -m ensurepip

If that doesn't work, follow this guide and then run easy_install pip in cmd.

Downloading

Download CloudBot from https://github.com/CloudBotIRC/CloudBot/zipball/master.zip.

Unzip the resulting file, and continue to read this document.

Installing Dependencies

Before you can run the bot, you need to install a few Python dependencies. All of CloudBot's dependencies are stored in the requirements.txt file.`

These can be installed with pip (The Python package manager) by running the following command in the bot directory:

pip install -r requirements.txt

Because installing lxml can be quite difficult on Windows (you may get errors running the command above) due to it requiring compilation, you can find a pre-built distribution at http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml