Installing server on Ubuntu

I am getting the follow error when trying to run setup-kegbot.py on my ubuntu server. Any help would be appreciated.

Traceback (most recent call last):
File “/usr/local/bin/setup-kegbot.py”, line 40, in
from pykeg.core import util
File “/home/shaun/.local/lib/python2.7/site-packages/pykeg/core/util.py”, line 28, in
import requests
File “/usr/local/lib/python2.7/dist-packages/requests/init.py”, line 53, in
from .packages.urllib3.contrib import pyopenssl
File “/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py”, line 62, in
ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: ‘module’ object has no attribute ‘PROTOCOL_SSLv3’

Looks like I resolved th issue… I found this on another forum looking up the error.

"There is a new fork of PIL called Pillow, you can install it by typing :

sudo apt-get build-dep python-imaging
sudo apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev
sudo pip install Pillow"