Tuesday, February 1, 2022

[SOLVED] Installing python-setuptools 20.4 or greater on CENTOS 7 for CKAN server

Issue

I am trying to install setuptools 20.4 or greater as it is a requirement for CKAN. I have tried downloading the rpm files and installing it but CKAN does not recognize the python2 rpm. I am running a virtualenv for the ckan server under use ckan with the bash shell. Does anybody have advice on how to properly install setuptools 20.4 or greater on centos?


Solution

I had to update python to version 2.7.13 and then download setuptools from the python repository. Centos doesn't have official support for any python above 2.7.5 which is problematic as I have to add exclusions to yum update. Ckan does require setuptools installed this is not optional, on install it is listed as a critical error.



Answered By - OrcMan
Answer Checked By - Mary Flores (WPSolving Volunteer)