I followed this guide to install opencv (version 3.4.4) and the contrib modules because I want to work with the SIFT algorithm. https://www.pyimagesearch.com/2018/05/28/ubun