Page tree
Contents

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:

cd
wget https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz
tar zxf Python-3.4.2.tgz
cd Python-3.4.2
./configure
make
make test (if you are not sure if it will work)
sudo make install


PyMySQL

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