Installing requirements

Lets install python3 and mysql.


First of all to make sure that everything is up to date, let’s update and upgrade the system with apt-get.

$ sudo apt-get update
$ sudo apt-get -y upgrade

Probably python3 is already installed so let’s check.

$ python3 -V

If the command above returns something like Python 3.5.2 it’s all ok. Otherwise install python with the following command.

$ sudo apt-get install python3

To manage software packages for Python, let’s install pip.

$ sudo apt-get install python3-pip

A more detailed guide can be found on Digital Ocean.

Installing MySQL can be done by runnung the following command.

$ sudo apt-get install mysql-server

The MySQL/Python connector can be installed with:

$ sudo apt-get install python3-mysql.connector

Installing alchemist_lib

Installing with pip:

If python3-pip is already installed:

$ sudo pip3 install alchemist_lib
$ sudo pip3 install git+
$ sudo pip3 install

If you don’t have pip installed, you can easily install it by downloading and running

Cloning the repository with git:

If git is already installed:

$ git clone
$ cd alchemist-lib
$ python3 install

$ sudo pip3 install git+
$ sudo pip3 install


After the installation it’s important to specify mysql credentials:

$ sudo alchemist populate -l "hostname" -u "username" -p "password" -d "database_name"