This requires python3.6. Get source from here : https://github.com/pallets/cachelib python3.6 setup.py build sudo python3.6 setup.py install --root=/tmp/cachelib cd /tmp sudo find . -not -type d (Find and remove __pycache__ directories and its files) sudo mksquashfs cachelib/ python3.6-cachelib.tcz Done.