Skip to main content
Skip table of contents

Installing Python 3.4 for the ARDC Harvester

The ARDC Harvester is implemented in Python, and requires Python version 3.4. If you don’t already have this version installed, follow these instructions.

As with the installation instructions for the RDA Registry and Harvester, these instructions assume a CentOS host.

Install gcc

If you don’t already have gcc, you’ll need to install it so that you can compile Python from source:

sudo yum install gcc

Install Python dependencies

Install lib_ssl open_ssl and open_ssl_dev before compiling Python. (If you already followed the instructions for installing ANDS-Registry-Core, you will have these installed.)

sudo yum install mod_ssl openssl openssl-devel

Download and install Python 3.4

Now download the Python source code and compile and install it:

tar zxf Python-3.4.2.tgz
cd Python-3.4.2
make test (if you are not sure if it will work)
sudo make install


The Harvester also uses the Python MySQL driver. Download and install PyMySQL:

sudo /usr/local/bin/pip3 install PyMySQL

Python 3.4 is now installed correctly. You can test it by running

/usr/local/bin/python3 --version
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.