$ wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz $ tar -xf Python-3.5.2.tar.xz $ rm Python-3.5.2.tar.xz $ cd Python-3.5.2/ $ export LD_RUN_PATH=/usr/local/lib/ $ ./configure --enable-loadable-sqlite-extensions --enable-shared $ make # make install $ cd .. $ rm -Rf Python-3.5.2/ This is how I install Python on my Debian system. With shared libraries enabled and SQLite support.\\ SSL is supposed to be enabled by default with Python3.