Fixed setup.py requirements to replace the deprecated PIL package with Pillow and fix versioning as per requirements.txt