You should require 'lxml>=2.1' and 'cssselect>0.7.9' to build this. cssselect was installed from github sources at the time of creation and submission. Get source from here : https://github.com/gawel/pyquery/ python3.6 setup.py build sudo python3.6 setup.py install --root=/tmp/pyquery cd /tmp/pyquery sudo find . -not -type 'd' (Delete __pycache__ folders and files) sudo mksquashfs pyquery/ python3.6-pyquery.tcz